Suppose site_name = "Company XYZ" I would like to Underline the site name in the emails subject line as in: site_name = "Company XYZ" ---------- What is the easiest way for doing this? Thanks. Bharat -- 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 Oct 4, 7:11 pm, Bharat Ruparel <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Suppose > site_name = "Company XYZ" > I would like to Underline the site name in the emails subject line as > in: > site_name = "Company XYZ"As far as I know you can''t. Subject lines are plain text. Fred> ---------- > > What is the easiest way for doing this? > Thanks. > Bharat > -- > 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks Fred. I will not waste time trying to format the subject line. This may be a dumb question. But, I will ask anyway. Suppose that I want the site_name text underlined in the body of email rather than subject line as I originally asked above. I can always do that using HTML, but will that not make my email hard to read for someone using an email client that does not support HTML formatting/conversion? Is there some unicode standard way of formatting email that is universally readable? I read somewhere on the web that Rails 2.2 will have some of the email formatting features. Would you (or anyone else) know anything about it? Bharat -- 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 4 Oct 2008, at 23:17, Bharat Ruparel wrote:> > Thanks Fred. I will not waste time trying to format the subject line. > > This may be a dumb question. But, I will ask anyway. > > Suppose that I want the site_name text underlined in the body of email > rather than subject line as I originally asked above. I can always do > that using HTML, but will that not make my email hard to read for > someone using an email client that does not support HTML > formatting/conversion? Is there some unicode standard way of > formatting > email that is universally readable?You can indeed do HTML emails, but many people don''t like those. You can however have multipart emails: a plain text part and an html part. People with mail viewers that can understand html will see the html stuff, others (or those who have set appropriate settings in their email client) will see the plain text version. (see http://api.rubyonrails.com/classes/ActionMailer/Base.html) Fred> > > I read somewhere on the web that Rails 2.2 will have some of the email > formatting features. Would you (or anyone else) know anything about > it? > Bharat > -- > 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 -~----------~----~----~----~------~----~------~--~---
Thank you. -- 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 -~----------~----~----~----~------~----~------~--~---