Forum: Ruby on Rails send a email with from like this "mysitename <webmaster@mysite.com>"

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
6cbd6da748449cd184d96057fe34f398?d=identicon&s=25 Kang Peng (Guest)
on 2009-03-09 09:14
(Received via mailing list)
hi,

i am using rails to send emails, i want to each email's 'from' address
has a name of mysite, e.g. "mysitename <webmaster@mysite.com>", but it
doesn't work when set from value like this, in gmail mailbox only
webmaster@mysite.com can be display, anyone know how to do this?

thanks a lot.
This topic is locked and can not be replied to.