Clean up and bugfixes for password reset (SAAS-1009)

This commit is contained in:
Albert Santoni 2015-08-07 13:57:42 -04:00
parent ea86675d07
commit ea2a6b3f68
9 changed files with 105 additions and 72 deletions

View file

@ -13,7 +13,7 @@ class Application_Model_Email
*/
public static function send($subject, $message, $to) {
$headers = 'From: Airtime <noreply@account.sourcefabric.com>';
$headers = sprintf('From: %s <noreply@account.sourcefabric.com>', SAAS_PRODUCT_BRANDING_NAME);
return mail($to, $subject, $message, $headers);
}