Closed (duplicate)
Project:
Mime Mail
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Mar 2012 at 01:23 UTC
Updated:
11 Apr 2013 at 20:43 UTC
I installed Mime Mail to be able to sent HTML email, and of course, the Mail Format field now shows the additional formats (Filtered HTML and Full HTML). What I have found is that choosing one of those formats does not set the way that mail is sent. If the default in Mime Mail conguration is Plain text, and I choose one of the HTML formats, the Plain text engine is used, and so the email is sent as plain text, with the email body text being the HTML code(instead of being sent as a text/html) . I haven't dug into Mime Mail enough to find how to do it, but if possible, Mime Mail should be told to use the appropriate MIME format (text/plain or text/html) for this particular message.
Comments
Comment #1
hansfn commentedYes, I have noticed this problem to. I digged a little bit in Mime Mail, but didn't find a way to force it to use a specific format. I'll send this bug report over to the Mime Mail issue queue and see if they have an easy solution.
Currently, on my test installation, I'm "solving" it by not using plain text as default in Mime Mail.
Comment #2
sgabe commentedI am marking this as a duplicate of #1285538: A mechanism for specifying a text format.
Comment #3
Sarenc commentedIt looks like this feature has been added but it isn't working for me.
In mimemail.mail.inc we have the following:
but shouldn't it be
if (!preg_match(? It seems to be only applying the text format if the mail is set to plain text. When I added the ! it worked for me.Comment #4
Sarenc commentedMy issue was due to webform:
which seems strange as I want mimemail to filter the text. I'll take this up with quicksketch :)