Problem: Emails from your site go out in a good looking HTML format, but some of the content you want to inject in those emails are just plain text. The email content now appears as one big block of text with no line breaks.

Pehaps this could be suitable as a new feature of mimemail:
http://coder1.com/articles/new-lines-to-paragraph-tags-nl2p

Comments

tr’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)

but some of the content you want to inject in those emails are just plain text

This doesn't sound like a problem with Mime Mail. Mime Mail assumes it is sending HTML text, and just sends what you give it. If you have plain text that you want to include in an HTML message, then it is your responsibility to HTML-encode that text. Or you can send your plain text as the plain text body of a multipart MIME message. Mime Mail can't just guess what part of your text was intended to be HTML and what part was intended to be plain text.