Encode mail as quoted-printable before sending in Rails
Posted
by macek
on Stack Overflow
See other posts from Stack Overflow
or by macek
Published on 2010-04-19T03:58:24Z
Indexed on
2010/04/19
4:03 UTC
Read the original article
Hit count: 320
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
© Stack Overflow or respective owner