Forum: Ruby on Rails ActionMailer doesn't accepts content_type when the body of the message is from RTE

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
407961424f12d857dc77c09f9b296a16?d=identicon&s=25 Tsvetelina B. (tsvetelina_b)
on 2012-07-09 20:38
(Received via mailing list)
Hello I have a problem with the content type of ActionMailer. I am using
markit-up and when I submit the form and send email with the entered
message I get this in my box:
<a href="http://gmail.com">This is a message</a>. I have this in my
mailer:
       mail(:content_type=>"text/html",:to=>@email,:subject=>"Generated
certificates",:body=>issuer_mes.body)

 where issuer_mes.body is the entered message. Can you help me? Thanks
in
advance :)
This topic is locked and can not be replied to.