Re: mail() problem...
| From: | Sara Keesler | Date: | Fri, 22 Nov 2002 19:51:56 +0000 |
| Subject: | Re: mail() problem... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-125653@lists.php.net to get a copy of this message | ||
Hi,
> The helpdesk sends emails as "nobody@mydomain.com", but some servers
> don't accept "nobody" as the sender!
> do you know how i can change that?
> i don't mean the "From:" header, but the real sender header of the
email...
I don't know if this is a good way to do things or not, but I have scripts
that send mail as several different addresses, and I do it this way:
mail('user@wherever', 'Test', 'Test', 'From:
my_address@my_domain.com',
'-fmy_address@my_domain.com');
(Outlook may screw that line up a bit, and if it does, I apologize).
Sara Keesler