I'm using Simplenews (6.x-1.0-beta5) and Mime Mail (6.x-1.x-dev (2008-Sep-21)) and trying to send HTML emails. The only way I've been able to get HTML emails to work is to check the "Use mime mail for all messages" under Admin/Settings/Mimemail. However the request password function (and possibly other system plaintext emails) send an email with the body "n/a".

Can anybody help me with getting a working setup for keeping system emails as plaintext and newsletters as HTML?

Thanks,
Jason

CommentFileSizeAuthor
#3 img.jpg114.11 KBalex72rm

Comments

jkm8552’s picture

Ok so I fixed the problem above by setting the Input Format to "Filtered HTML" under the Admin/Settings/Mimemail page. Both the system emails and newsletter emails send in HTML.

But...

the extra returns added in the body box of the newsletter to separate paragraphs don't appear in the email. Don't know if it's only reading one
tag instead of the two that should be there or what. There are extra returns in the system emails (i.e. "request password" link).

(P.S. I also still need to figure out how to theme the emails and add a header image with the Filtered Format being used. So far the mail.css file I created isn't being called. Arrgh!)

jkm8552’s picture

Ok figured out the return issue. I installed the FCKeditor module and used changed the "Full HTML" format to not include the Line Break filter. This fixed how it appeared in the emails.

Now on to theming!

alex72rm’s picture

Version: 6.x-1.x-dev » 5.x-1.x-dev
Category: support » bug
StatusFileSize
new114.11 KB

The same occurs in 5.x dev branch.

I don't know why, but Full HTML doesn't work in MimeMail (I have disabled FCKEditor for some contact forms, and with "Full HTML" I obtain "n/a" as e-mail body). All is right with "Filtered HTML".

martin.pallmann’s picture

Version: 5.x-1.x-dev » 6.x-1.x-dev

I'm having the same problem here. Can use FilteredHTML and the system mails are correctly send, but I cannot style the news with inline css, so I have to use FullHTML, but then the system mails are rendered useless. *bummer*

I'm using Drupal 6.4, Mime Mail 6.x-1.x-dev (2008-Sep-21), Simplenews 6.x-1.0-beta5.

jerdavis’s picture

Status: Active » Closed (duplicate)