I am sending multiparts emails ( html and plain text ) , I wrote as
default :
default :from => Rails.configuration.no_reply_address, :parts_order =>
["text/html", "text/enriched", "text/plain" ]
and each email is generated with the 2 formats :
mail(:to => @sender, :subject =>
"#{I18n.t(:email_upload)}") do
|format|
format.html {render :template => @template }
format.text {render :layout => false, :template =>
@template}
end
I receive both , but it''s always the plain_text which is the first to
display ( on my Mac, w Mail.app I have to ask for the alternative to
see the html version ..)
did I miss anything important ?
thanks fyh
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.