If we use mimemail for all Drupal messages, like the /contact form, linebreaks are not converted to
and disappear in the HTML version.

Could mimemail.module be changed L274 ?

      $body = check_markup($message['body'], $format, FALSE);

would become

      $body = check_markup(nl2br($message['body']), $format, FALSE);

However I guess it's because my filter format does not apply linebreaks conversions, which is needed by some WYSIWYG editors. So maybe we could add the modification above as an option ?

Comments

sgabe’s picture

Title: linebreaks and <br /> for drupal_mail_wrapper() » Insert HTML linebreaks in drupal_mail_wrapper()
Status: Active » Closed (works as designed)

However I guess it's because my filter format does not apply linebreaks conversions.

I guess you noticed by now that you can use a different filter for Mime Mail, see the module's settings page.