Merge pull request #81 from radiorabe/feature/email-from-header-config

Change default email sender
This commit is contained in:
Robb 2017-03-14 00:06:30 -04:00 committed by GitHub
commit 3eaa999130
2 changed files with 2 additions and 1 deletions

View file

@ -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);
}