Wednesday, June 23, 2010

[Rails] ActionMailer + GMail STMP: How to set FROM header?

I am using Ruby 1.8.7 with Rails 2.3.8 and the GMail SMTP configuration.

However all mail being sent by my application has its 'from' field as
the gmail address that logs in, instead of what I supply in the from
function of my ActionMailer.

Is there any way to change this, or this is a restriction originating
from GMail? The Reply-to address seems to work though.
--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate