PHPmailer doesn’t work since update
-
In the changelog from WordPress, I saw that PHPmailer was updated so as to address a critical security issue.
Since this update my plugin doesn’t work like expected; I used
$phpmailer->AddEmbeddedImage
to add images to emails and it no longer works as it used to be.Below is my code:
global $phpmailer; add_action("phpmailer_init", function(&$phpmailer) use ($file, $uid, $name) { $phpmailer->SMTPKeepAlive = true; $phpmailer->AddEmbeddedImage($file, $uid, $name); });
Emails get send alright, but without images.
How can I fix this?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘PHPmailer doesn’t work since update’ is closed to new replies.