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
This commit is contained in:
parent
22466530ef
commit
10a6751ddb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user