Reputation: 338
I have a ruby application that I'd like to send HTML emails. In my mailer folder I have the appropriate html.erb files. In dev(localhost) and staging(on heroku) the html emails get sent fine, but when I try and send HTML emails in productions(hosted on AWS), I keep getting the text email, and not the html emails. Is there something that I'm missing?
Upvotes: 0
Views: 114
Reputation: 15788
Try to add an explicit content type header:
mail :to => [email protected], :subject => "your subject", :content_type => "text/html"
Upvotes: 2