From b66088319beeed942f3add3ffcd2bf7b6c230e3c Mon Sep 17 00:00:00 2001 From: Aaron van Geffen Date: Thu, 29 Sep 2016 23:00:58 +0200 Subject: [PATCH] Reply from @aaronweb.net, not @pics.hashru.nl, for now. --- models/Email.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/Email.php b/models/Email.php index 456b0136..1829fd76 100644 --- a/models/Email.php +++ b/models/Email.php @@ -14,7 +14,7 @@ class Email $boundary = uniqid('sr'); if (empty($headers)) - $headers .= "From: HashRU Pics \r\n"; + $headers .= "From: HashRU Pics \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")