I’m having trouble setting the “from” address when I use ActionMailer
to send emails. I’m using the SMTP method, with 01.com as my host.
It seems 01.com is ignoring the value I set in @from in my
ActionMailer model. Is this a common problem with third-party SMTP
hosts? How do I work around it?
Eric
On Fri, Aug 1, 2008 at 2:01 PM, Eric LIn [email protected] wrote:
I’m having trouble setting the “from” address when I use ActionMailer
to send emails. I’m using the SMTP method, with 01.com as my host.
It seems 01.com is ignoring the value I set in @from in my
ActionMailer model. Is this a common problem with third-party SMTP
hosts?
For as long as I can remember. That’s what sendmail’s -f is for.
How do I work around it?
Check to make sure your smtp allows -f, it may be configured not to.
–
Greg D.
http://destiney.com/