On Jun 23, 2010, at 4:16 PM, Tom Pett wrote:

> 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.

This is part of Gmail. No matter what you set the From as in your ActionMailer, 
GMail will send it from your Gmail account.

I had to switch from using Gmail to a locked-down direct SMTP server using 
exim4.

Thanks!

Jon Brisbin
http://jbrisbin.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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to