mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 00:33:40 +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