Support » Plugin: SparkPost » WP 5.5 – PHPMailer Deprecated Notice

  • Resolved rehhoff



    In the newest version of wordpress (5.5) I’ve started to get the following notice/error in my backend.

    Deprecated: class-phpmailer.php is deprecated since version 5.5.0! Use wp-includes/PHPMailer/PHPMailer.php instead. The PHPMailer class has been moved to wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace. in /usr/www/users/username/dev/wp-includes/functions.php on line 4963

    I suppose this is something that needs updating in the plugin to be compatible with the latest wordpress version. as it now uses the PHPMailer\PHPMailer namespace instead.

    Kind Regards
    – Allan

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Allan

    Try changing your settings from (Send) Method = HTTP to Method = SMTP. I had the same problem and it worked for me.

    Plugin Author SparkPost


    Hi @rehhoff,
    Thank for reporting this issue. A patch was released yesterday. Please upgrade to v3.2.2.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP 5.5 – PHPMailer Deprecated Notice’ is closed to new replies.