0
0
mirror of https://github.com/PHPMailer/PHPMailer.git synced 2024-09-19 17:42:14 +02:00

Fix callback example

This commit is contained in:
Marcus Bointon 2016-05-01 17:06:51 +02:00
parent d3eabffd0c
commit da739aa763

View File

@ -61,7 +61,6 @@ try {
//Alternative approach using a closure
try {
$mail->isMail();
$mail->action_function = function ($result, $to, $cc, $bcc, $subject, $body) {
if ($result) {
echo "Message sent successfully\n";