fix email to new registerd users.
fix notification in case of error sending email.
This commit is contained in:
+1
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user