• 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->AddEmbeddedImageto 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?

    • This topic was modified 7 years, 10 months ago by mathishuettl.
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.