Closed (fixed)
Project:
Forward
Version:
5.x-1.x-dev
Component:
Miscellaneous
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Mar 2007 at 17:39 UTC
Updated:
17 Dec 2009 at 16:07 UTC
All emails sent using Forward module show all HTML tags? It's possible to send plain text email only?
Thanks in advance.
Comments
Comment #1
fax8 commentedsame problem here
Comment #2
jfurry commentedSame as well, the e-mails are filled with html that no e-mail application I've tried can process.
Not exactly readable. Are well missing a config option? Or is there something wrong with this module. I would guess that the mime type isn't being set properly
Comment #3
freeman-1 commentedI'm running Drupal 5.1 with Forward 5.x-1.x-dev.
Same problem with HTML emails - keeps seeing the raw html code.
I tracked it down to these two lines from forward.module:564-565 :
There are mainly 2 errors :-
1. the 1st line : variable $header should be $headers.
2. the module now uses the drupal_mail function - which takes the headers as an array with assoc keys.
I've resolved this issue by amending the lines to :
Note specifically that 'Content-Type' needs to be spelled with capital 'T' for 'Type'. Otherwise, it doesn't replace the drupal_mail default header.
Tested with Yahoo, Hotmail and Gmail webmails.
Comment #4
seanrFixed in head and 5.x. Thanks for the help.
Comment #5
tixx commentedGreat. Now it works.
Thanks a lot.
Comment #6
(not verified) commentedComment #7
ericpughThis didn't fix the problem for me. (displaying the email body as mark-up). I corrected the header issues listed above, no good. Uninstalled/reinstalled forward, no good. Ran update.php. Nope.
Anybody have an idea about this? Is there a table somewhere with a left over entry, or maybe something with SMTP (which appears to be correctly configured) that would cause this? I'm stumped. (as usual :-))
thanks
Comment #8
seanrThis does in fact appear to be a problem with SMTP. That is handled by a separate module, so I'd suggest creating a new support request there. I don't use SMTP on any of my servers, so I've got no easy way to test this.
Comment #9
suzanne.aldrich commentedThere's a patch for SMTP module now: http://drupal.org/node/195622
Comment #10
christopherhanson commentedthanks for that freeman, was working in blueyonde mail but not gmail, now gmail works :D cheers m8