diff options
author | Craig Andrews <candrews@integralblue.com> | 2009-07-21 14:03:08 -0400 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-07-21 14:03:08 -0400 |
commit | 10a6751ddb22ba960f8313acac130c5c63b30086 (patch) | |
tree | 09939e61c57ceed00fb9851a4d0702165d404203 | |
parent | 22466530eff42fa6b1e1ea2380227ad5f4b22923 (diff) |
Fixed: If the site name contains "." or "@" (and perhaps others), then notification emails (such as the email confirmation email) fail with the error "LOG_ERR: PEAR error: Validation failed for:
SITE_NAME <noreply@HOSTNAME> :"
Thanks jk3us
http://laconi.ca/trac/ticket/1356
-rw-r--r-- | lib/mail.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mail.php b/lib/mail.php index 90ee3c992..262f788ee 100644 --- a/lib/mail.php +++ b/lib/mail.php @@ -121,7 +121,7 @@ function mail_notify_from() $domain = mail_domain(); - $notifyfrom = common_config('site', 'name') .' <noreply@'.$domain.'>'; + $notifyfrom = '"'.common_config('site', 'name') .'" <noreply@'.$domain.'>'; } return $notifyfrom; |