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.
| Comment | File | Size | Author |
|---|---|---|---|
| forward_mail_alter.patch | 480 bytes | SofiaSund |
Comments
Comment #1
john.oltman commentedThis fix has been incorporated in the new 7.x-1.0-rc1 release.
Comment #2
john.oltman commented