• Hello.

    Despite the fact that

    get_option(‘blog_charset’) = “UTF-8”,

    the emails sent by this plugin generate

    Content-Type: text/html; charset=”iso-8859-1″.

    And then all letters with accent (é ,è, etc.) are badly displayed to the destinees.

    I have checked the code of this plugin, it uses get_option(‘blog_charset’) and at execution time, in the plugin routine, the value is really UTF-8. So where and why is it transformed later ?

    Furthermore, before this plugin, the standard WordPress message was correctly sent in UTF-8.

    I really need some help !

    Here is my plugin list :.
    Calendar, cforms, Cimy User Extra Fields, IWG Hide Dashboard, New User Email Setup, Role Manager, RSS Footer, RSS Includes Pages, Sidebar Login, Simple:Press Forum, WP-Table Reloaded, wpNamedUsers.

    Is there a relationship with Simple:Press Forum, that is supposed to use the same resource?

    Thank you in advance,
    Gilbert

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have this exact problem too, and it still happens even with every other plugin deactivated.
    I’ve tried to look into it but can’t find any solution. I’ve checked my charset from my WP configuration, from my DB, and still sends e-mails with iso. It might also have something to do with the php mailer function, but I’m not sure. I’ll look into it anyway and post here if I find a solution. If not, I guess I’ll have to go back to editing plugable.php which is a pain in the butt.

    Any old WP users out there who can give us a hand at this?

    Thanks!

    Wow! I actually found the solution, and it’s as easy as the easiest thing you could imagine! After staying awake all night trying to figure this out, I found out it had nothing to do with the plugin, as I suspected. The plugin did everything as it was supposed to, but the PHP Mailer function I was talking about was the only one to blame here! If you open “yourdomain/wp-includes/class-phpmailer.php”, you’ll see that the charset is set to that creepy “iso-8859-1” which special character lovers like me are afraid of.

    So open up that file, and replace this in line 50

    * Sets the CharSet of the message.
       * @var string
       */
      var $CharSet           = 'iso-8859-1';

    to this

    /**
       * Sets the CharSet of the message.
       * @var string
       */
      var $CharSet           = 'UTF-8';

    and voilá, you’re all done 😀

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin New User Email Setup] email charset’ is closed to new replies.