11175
(-- --)
June 11, 2008, 12:49pm
1
I have a problem with HTML email and Outlook;
no matter what I do, Outlook displays email like Text and not like
formatted HTML.
If I send the same to Yahoo or Google email account, received emails are
HTML rendered, without any problem;
In Action Mailer Model i put
@content_type = "text/html"
and in my Email view:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" ; >
plus standard Html tag (HTML, HEAD, BODY).
Any ideas?
Thanks in advance
Stefano
If you use XHTML you must use lowercase tags (html, head, body). Not sure that it fixes your Outlook problem, but at least it's a start.
11175
(-- --)
June 11, 2008, 1:06pm
3
Robert Claeson wrote:
If you use XHTML you must use lowercase tags (html, head, body). Not
sure that it fixes your Outlook problem, but at least it's a start.
Thanks Robert, I have just tried your suggestion without any luck...
Rey9999
(Rey9999)
June 11, 2008, 3:58pm
4
Ciao Stefano,
Are you sure that Outlook options aren't overriding the @content /type
statement?
If the user configured Outlook not to display HTML but just convert it
to plain text, no matter what you set in the code - he will always get
it as simple text.
Rey9999