Ruby on Rails
Monday, July 9, 2012
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 :)
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/MKEGpazWk4wJ.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
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-US.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment