Re: MAIL function sends as anonymouse@mydomain.com instead of what I specify in php.ini?
| From: | Jason Wong | Date: | Mon, 09 Aug 2004 17:33:21 +0000 |
| Subject: | Re: MAIL function sends as anonymouse@mydomain.com instead of what I specify in php.ini? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-193214@lists.php.net to get a copy of this message | ||
On Monday 09 August 2004 23:56, BOOT wrote:
> I am sure that this is a problem with my MTA configuration not PHP itself,
> but any help would be appreciated.
>
> PHP is set to use sendmail (although I understand that my server may be
> using qmail and not really sendmail?)
Makes no practical difference, works just fine.
> It seems that whatever SMPT settings I place in php.ini ignores. (SMTP
> servername, FROM) and all e-mail is sent from anonymous@mydomain.com!
You obviously didn't RTFM, those particular settings are for Windows systems
and are not applicable to un*x systems which you seem to be using (since you
mention qmail). See examples in manual on how to set the FROM header in un*x
systems.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Alea iacta est.
[The die is cast]
-- Gaius Julius Caesar
*/