• I am using wordpress 2.1.2. My site is https://www.juyimeng.com.
    Because my site using chinese character,the mail content is chinese in utf8 encoding.
    I found the system email’s subject is in wrong encoding, the subject can’t be read, but the content is absolutely normal.
    After added one line in the wp_mail function (wp-includes/pluggable.php), the subject’s character can be read.
    The solution is add
    $subject = “=?”.get_option(‘blog_charset’).”?B?”.base64_encode($subject).”?=”;
    before
    return @mail($to, $subject, $message, $headers);

    this function locate in about line 158.

    is it a bug?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter phpbird

    (@phpbird)

    not a bug?

    i have a similar problem but not with emailing, buut crossposting to a forum. i get the post-title all garbled. the crossposting is happening via xmlrpc somehow, but don’t ask me how exactly. don’t you have any ideas by chance as to how that one can be fixed? thanks

    Thread Starter phpbird

    (@phpbird)

    would you please tell me more detail about your issue?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘maybe it is a mail funtion bug’ is closed to new replies.