fix email to new registerd users.
fix notification in case of error sending email.
This commit is contained in:
parent
6db73c0b6d
commit
3ac5e4508b
4 changed files with 12 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue