1
1
Fork 0

fix email to new registerd users.

fix notification in case of error sending email.
This commit is contained in:
fabrixxm 2014-09-07 17:46:31 +02:00
commit 3ac5e4508b
4 changed files with 12 additions and 7 deletions

View file

@ -595,7 +595,7 @@ function notification($params) {
// use the Emailer class to send the message
Emailer::send(array(
return Emailer::send(array(
'fromName' => $sender_name,
'fromEmail' => $sender_email,
'replyTo' => $sender_email,
@ -605,7 +605,6 @@ function notification($params) {
'textVersion' => $email_text_body,
'additionalMailHeader' => $datarray['headers'],
));
return True;
}
return False;