mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-21 19:23:41 +00:00
[phpmailer] Use new emailer hook "sent" property
This commit is contained in:
parent
c8001ac4c4
commit
4c0c4d4f33
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ function phpmailer_emailer_send_prepare(App $a, array &$b)
|
|||
}
|
||||
}
|
||||
|
||||
$mail->send();
|
||||
$b['sent'] = $mail->send();
|
||||
} catch (Exception $e) {
|
||||
$a->getLogger()->error('PHPMailer error', ['ErrorInfo' => $mail->ErrorInfo, 'code' => $e->getCode(), 'message' => $e->getMessage()]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue