Action Mailer and HTML

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&quot; >

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.

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...

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