WordPress.org

Ready to get started?Download WordPress

Forums

New User Email Set Up
Charset encoding fix (1 post)

  1. ydubois
    Member
    Posted 3 years ago #

    I don't know if this great WP plugin is still maintained.

    I found a little bug that can easily be corrected. This is related to the fact that the phpmailer class does not handle the charset encoding the way the author intended it to. Even if you set appropriate headers, they are stripped and replaced with the default iso-8859-1 encoding (wp-include/class-phpmailer.php line 50).

    You should thus add this line to your plugin when initializing the phpmailer class:

    $phpmailer->CharSet = get_option('blog_charset');

    (line 409).

    This corrects all issues with accentuated / non-ascii characters.

    http://wordpress.org/extend/plugins/new-user-email-set-up/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic