I noticed drupal includes line breaks in emails it outputs.

For example in admin/config/people/accounts we can customize message users receive when they signup and/or when they forget their passwords etc..

The thing is, when the emails are sent to the users, they contain line breaks that seem to be completely random and arbitrary.

I first thought the problem came from the webmail provider, so i tried with different services (gmail, hotmail, yahoo etc.. )

Any suggestions on how to fix this ?


1 Answer 1


It seems it's drupal's mail processor that inserts all these line breaks.
I fixed the issue by installing MimeMail (and MailSystem).
It allows the use of html to format all outgoing emails.

I hope this will be helpful to somebody out there.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.