Hi,
I am sending out newsletters via simplenews module. For hotmail, gmail, Outlook Express and my personal Outlook XP accounts it is sending fine (though for some people in Outlook/Express emails are marked as "possible spam"). But Yahoo accounts and some Outlook installs are only displaying the contents of the email as RAW (not rendered as a web email) HTML.

Ideas?! Client is getting pretty frustrated :(
Dan

Comments

thehardings’s picture

hi,
i fixed my own problem. in /modules/user.module find the following:

return mail(
      $mail,
      mime_header_encode($subject),
      str_replace("\r", '', $message),
      "MIME-Version: 1.0\nContent-Type: text/plain; charset=UTF-8; format=flowed\nContent-transfer-encoding: 8Bit\n" . $header
    );

it should be "text/html" NOT "text/plain"...also, this header is duplicated in activeMailer.php, but it seems like if I take either of the headers out it doesn't work...ideas?
dan