problems with HTML-mails and Mailster

Home Forums User Registration problems with HTML-mails and Mailster

This topic contains 2 replies, has 2 voices, and was last updated by  sanjeev3 10 months, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5353

    iRolf
    Participant

    hi folks,

    I’m facing problems when sending UR mails via Mailster. the body content starts with:

    ; charset=UTF-8: 
    X-Message-ID: <5bd2ffe43c277---095475d5a6a429515655235506b27c00@dev.ginkgoverlag.de>
    MIME-Version: 1.0
    Content-Type: multipart/alternative;
    	boundary="b1_443b1d93c4de3a36045d4c6e9f7838d1"
    Content-Transfer-Encoding: 8bit

    so I assume that somewhere around the lonly charset header-part there must be an error somewhere.

    Mailster is doing a very good job with loads of other plugins so I dig into the sent mail whit Mailster deactivated:

    all I get are some paragraphs with the registration data without any doctype or html wrapping and there are no multi-part bounderies so it is all up to the mail app I used that the mail was displayed almost correct.

    any ideas, how to fix this issue?

    kind regards
    rolf

    #5354

    iRolf
    Participant

    @WPEverest: solved, but need an update

    in class-ur-emailer.php the \r\n are wrong after the Content-Type: text/html

    public static function ur_get_header() {
    	$header = "From: ". self::ur_sender_name()." <".self::ur_sender_email().">\r\n";
    	$header .= "Reply-To: ".self::ur_sender_email()."\r\n";
    	$header .= "Content-Type: text/html\r\n; charset=UTF-8";

    this header must not have a break inbetween.

    kind regards
    rolf

    #5396

    sanjeev3
    Member

    Glad to know you have fixed the issue. We will update this fix in next version updates.

    If you have fix to any bugs, we really appreciate your contribution to the plugin: https://github.com/wpeverest/user-registration

    Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.