PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

WP 3.4 email confirmation fix

  1. Jamie M
    Member

    This is probably covered somewhere else, so feel free to delete this post if so.

    For those who are no longer receiving notification emails after the WordPress 3.4 update, open the following file:
    /wp-includes/class-phpmailer.php

    and change line 763 from:

    $rt = @mail($val, $this->EncodeHeader($this->SecureHeader($this->Subject)), $body, $header, $params);

    to this:

    $rt = @mail($val, $this->EncodeHeader($this->SecureHeader($this->Subject)), $body, $header);

    and also line 769 from:

    $rt = @mail($to, $this->EncodeHeader($this->SecureHeader($this->Subject)), $body, $header, $params);

    to this:

    $rt = @mail($to, $this->EncodeHeader($this->SecureHeader($this->Subject)), $body, $header);
    Posted 12 years ago on Wednesday June 27, 2012 | Permalink
  2. David Peralty

    Thanks for that. I knew there was a bug introduced that stopped the wp mailer from working in safemode for some people, but probably everyone is going to wait for the 3.4.1 release from the WordPress team which I hope will have this fix. Either way, thanks for posting this! :)

    Posted 12 years ago on Wednesday June 27, 2012 | Permalink
  3. Jamie M
    Member

    Lots of contact form plugins also not working. How on earth did the beta testers miss this?

    Posted 12 years ago on Wednesday June 27, 2012 | Permalink