1
0
Fork 0

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:
fabrixxm 2014-12-29 16:04:51 +01:00
parent a659b34117
commit 917ce5b411
2 changed files with 2 additions and 0 deletions

View file

@ -14,6 +14,7 @@ class Emailer {
* @param htmlVersion html version of the message
* @param textVersion text only version of the message
* @param additionalMailHeader additions to the smtp mail header
* @param optional uid user id of the destination user
*/
static public function send($params) {

View file

@ -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,