Tag mailer

4 votes

2 comments

6212 views

Use multipart/alternative as content_type of email

Rails uses plain/text as the default content_type for sending email, you should change it to multipart/alternative that email clients can display html formatted email if they support and display plain text email if they don't support html format.

implemented
flyerhzm
Fork me on GitHub