summaryrefslogtreecommitdiff
path: root/lib/mail.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-07-21 14:03:08 -0400
committerCraig Andrews <candrews@integralblue.com>2009-07-21 14:03:08 -0400
commit10a6751ddb22ba960f8313acac130c5c63b30086 (patch)
tree09939e61c57ceed00fb9851a4d0702165d404203 /lib/mail.php
parent22466530eff42fa6b1e1ea2380227ad5f4b22923 (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
Diffstat (limited to 'lib/mail.php')
-rw-r--r--lib/mail.php2
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;