The following lines in forward.module:

function forward_mail_alter(&$message) {
  //dsm($message);
  $message['headers']['Content-Type'] = 'text/html; charset=UTF-8; format=flowed;';
}

sets the text/html header on all emails that are sent via Drupal. I noticed this since emails sent via webform and the default contact form lost their plain text header (and thus all line breaks disappeared from the email) after installing the forward module.

Attached is a patch that simply removes the forward_mail_alter function completely. This solves the problems for me, and the forward emails still look good, but it needs testing of course.

CommentFileSizeAuthor
forward_mail_alter.patch480 bytesSofiaSund

Comments

john.oltman’s picture

This fix has been incorporated in the new 7.x-1.0-rc1 release.

john.oltman’s picture

Status: Needs review » Closed (fixed)