Home Rails - Mail, getting the body as Plain Text
Reply: 0

Rails - Mail, getting the body as Plain Text

user242
1#
user242 Published in June 20, 2018, 10:55 pm

Given: message = Mail.new(params[:message])

as seen here: http://docs.heroku.com/cloudmailin

It shows how to get the message.body as HTML, how to do you get the plain/text version?

Thanks

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.346631 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO