Encode mail as quoted-printable before sending in Rails
- by macek
I saw this question and couldn't make use of it:
http://stackoverflow.com/questions/1034135/ruby-email-encoding-and-quoted-printable-content
My email is going out as unencoded text/html. Any help?
class UserMailer < ActionMailer::Base
def welcome_mail(user)
recipients user.email
from "[email protected]"
subject "Thanks for registering"
body :user => user
end
end