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

Posted by 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 :)
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.