Change default email sender
The new noreply@ address is now libretime.org and the address gets moved to contants.php rather than being hardcoded in the email model.
This commit is contained in:
parent
f52f0e7ff0
commit
88b3eb22a0
2 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,7 @@ class Application_Model_Email
|
|||
*/
|
||||
public static function send($subject, $message, $to) {
|
||||
|
||||
$headers = sprintf('From: %s <noreply@account.sourcefabric.com>', SAAS_PRODUCT_BRANDING_NAME);
|
||||
$headers = sprintf('From: %s <%s>', SAAS_PRODUCT_BRANDING_NAME, LIBRETIME_EMAIL_FROM);
|
||||
return mail($to, $subject, $message, $headers);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue