mirror of
https://github.com/friendica/friendica
synced 2024-12-23 06:00:15 +00:00
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:
parent
a659b34117
commit
917ce5b411
2 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
||||
|
|
|
@ -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…
Reference in a new issue