forked from Public/pics
Reply from @aaronweb.net, not @pics.hashru.nl, for now.
This commit is contained in:
parent
2a7b44dfb2
commit
b66088319b
@ -14,7 +14,7 @@ class Email
|
||||
$boundary = uniqid('sr');
|
||||
|
||||
if (empty($headers))
|
||||
$headers .= "From: HashRU Pics <no-reply@pics.hashru.nl>\r\n";
|
||||
$headers .= "From: HashRU Pics <no-reply@aaronweb.net>\r\n";
|
||||
|
||||
// Set up headers.
|
||||
$headers .= "MIME-Version: 1.0\r\n";
|
||||
@ -44,7 +44,7 @@ class Email
|
||||
if (DEBUG)
|
||||
return file_put_contents(BASEDIR . '/mail_dumps.txt', "To: \"$addressee\" <$address>\r\n$headers\r\nSubject: $subject\r\n" . self::wrapLines($message), FILE_APPEND);
|
||||
else
|
||||
return mail("\"$addressee\" <$address>", $subject, $message, $headers, '-fbounces@pics.hashru.nl');
|
||||
return mail("\"$addressee\" <$address>", $subject, $message, $headers);
|
||||
}
|
||||
|
||||
public static function wrapLines($body, $maxlength = 80, $break = "\r\n")
|
||||
|
Loading…
Reference in New Issue
Block a user