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:

plus standard Html tag (HTML, HEAD, BODY).

Any ideas?

Thanks in advance

Stefano

On 11 Jun 2008, at 13:49, Stefano B. wrote:

plus standard Html tag (HTML, HEAD, BODY).

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

On 11 Giu, 15:06, Stefano B. [email protected]

Rey9999 wrote:

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

On 11 Giu, 15:06, Stefano B. [email protected]

Rey9999,

many thanks for your suggestion.

It’s silly but this was my problem. It was not related to outlook
settings anyway; Mdaemon antispam was responsible of this strange email
behaviour…

Greetings

Stefano