Make EMailer util dynamic
This commit is contained in:
parent
9269221825
commit
ea9d3b7438
4 changed files with 11 additions and 3 deletions
|
@ -610,7 +610,7 @@ function notification($params)
|
|||
]);
|
||||
|
||||
// use the Emailer class to send the message
|
||||
return Emailer::send([
|
||||
return DI::emailer()->send([
|
||||
'uid' => $params['uid'],
|
||||
'fromName' => $sender_name,
|
||||
'fromEmail' => $sender_email,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue