ActionMailer::Base.default_charset = "utf-8"
ActionMailer::Base.default_content_type = "text/html"
this should fix the problem
Senthil
http://railsfactory.com/
On Oct 10, 3:34 pm, phil <p...-o0Q4Q1ys/oVBDgjK7y7TUQ@public.gmane.org>
wrote:> I have an email that is sent from either a rake task or from a user
> action. When it is sent from the user action it gets delivered as
> nicely formatted html. When sent from the rake task it is text, with
> all the html code visible.
>
> Is there a setting I am missing?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---