Makes the Reply-To header e-mail address configurable.

also uses the SITE_NAME constant as the sender name.
This commit is contained in:
Roflin committed 2018-02-03 20:58:00 +01:00
1 parent ee304dd7b9
commit 8b73420936
2 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ class Email
$boundary = uniqid('sr');
if (empty($headers))
$headers .= "From: HashRU Pics <no-reply@aaronweb.net>\r\n";
$headers .= "From: " . SITE_TITLE . " <" . REPLY_TO_ADDRESS . ">\r\n";
// Set up headers.
$headers .= "MIME-Version: 1.0\r\n";