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 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 11 Jun 2008, at 13:49, Stefano Bonomi wrote:> <!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).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. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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... -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 Bonomi <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> 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... > > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 Bonomi <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>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 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---