Adds optional parameter 'uid' to Emailer::send()
that is the user id of the recipient of the mail. Make enotify pass it to Emailer::send()
This commit is contained in:
@@ -598,6 +598,7 @@ function notification($params) {
|
||||
// use the Emailer class to send the message
|
||||
|
||||
return Emailer::send(array(
|
||||
'uid' => $params['uid'],
|
||||
'fromName' => $sender_name,
|
||||
'fromEmail' => $sender_email,
|
||||
'replyTo' => $sender_email,
|
||||
|
||||
Reference in New Issue
Block a user