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

also uses the SITE_NAME constant as the sender name.
This commit is contained in:
2018-02-03 20:50:23 +01:00
parent ee304dd7b9
commit 8b73420936
2 changed files with 5 additions and 2 deletions

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";