ActionMailer doesn't accepts content_type when the body of the message is from RTE

1 view
Skip to first unread message

Tsvetelina Borisova

unread,
Jul 9, 2012, 2:36:59 PM7/9/12
to rubyonra...@googlegroups.com
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 :)
Reply all
Reply to author
Forward
0 new messages