Hi I am using the action mailer as explained in the pragmatic book.
When I send a text email to yahoo the html part comes as an attachment
but in the yahoo mail body I see the following :
<html>
</html>
and then the attachment
=============================
Here is my notifier controller
class Notifier < ActionMailer::Base
def sendemail(mytarget,mysubject, msgbody)
@subject = mysubject
@recipients = mytarget
@from = ''from-1SZh+JHLGKk@public.gmane.org''
@bcc = ''bcc-1SZh+JHLGKk@public.gmane.org''
content_type "multipart/alternative"
part :content_type => "text/html",
:body => render_message("sendemail", :msgbody => msgbody)
end
end
thanks
rt
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---