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:
parent
d3eabffd0c
commit
da739aa763
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user