Browse Source

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()
pull/1266/head
fabrixxm 7 years ago
parent
commit
917ce5b411
  1. 1
      include/Emailer.php
  2. 1
      include/enotify.php

1
include/Emailer.php

@ -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) {

1
include/enotify.php

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

Loading…
Cancel
Save