Fix callback example

This commit is contained in:
Marcus Bointon 2016-05-01 17:06:51 +02:00
parent d3eabffd0c
commit da739aa763
1 changed files with 0 additions and 1 deletions

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";