mail problem with some hint. Please help MU (3 posts)

  1. stchan
    Posted 9 years ago #

    I have two problems on my newly installed WordPress MU
    1. cannot send any notification message
    Hint :
    Mail server response :
    ERROR smtpserver: Error parsing sender address: MyBlog <support@myserver.com>: Invalid character in local-part (user account) at position 7
    Normally local-part is within this quote <....>
    I modify the sentence to become:
    $message_headers = "MIME-Version: 1.0\n" . "From: \"" . get_site_option( "site_name" ) . "\" <{$admin_email}>\n" . "Content-Type: text/plain; charset=\"" . get_option('blog_charset') . "\"\n";
    I add error_log before wp_mail inside file wpmu-functions.php
    Add: error_log("message header = $message_headers ");
    From the error log I get :
    [error] [client] message header = MIME-Version: 1.0\nFrom: "MyBlog" <support@myserver.com>\nContent-Type: text/plain; charset="UTF-8"\n , referer: http://blog.editor.hk/wp-signup.php

    I tried to use another mail server (Mercury/32) and get Parser error on sender address.

    I guess the problem on wp_mail function wpmu_signup_blog_notification

    2. The variable site name seem cannot support double byte. But other varible name is no problem.

    Thank for your help.

  2. MichaelH
    Posted 9 years ago #

    You might consider asking this question to the WordPress MU forums at http://mu.wordpress.org/forums/

  3. stchan
    Posted 9 years ago #

    Thank. Repost on MU forum

Topic Closed

This topic has been closed to new replies.

About this Topic