Setting "from" address in ActionMailer

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

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.