Re: Re: Failed to Receive in E:\...\mailscript.php on line 25
| From: | Jason Wong | Date: | Sun, 06 Jul 2003 07:01:55 +0000 |
| Subject: | Re: Re: Failed to Receive in E:\...\mailscript.php on line 25 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-154112@lists.php.net to get a copy of this message | ||
On Sunday 06 July 2003 14:55, Håkon Strandenes wrote:
Please trim your posts!
> How do I specify witch SMTP server I shall use?
If you're using mail() then in php.ini.
> I cannot set this in the
> PHP.ini file,
Why not? If it's on some hosting service then obviously the hosting service
have gotten their settings wrong. And they should do something to rectify it!
>so I must specift this in the script.
If all else fails, you have to abandon the use of mail(). There are several
alternatives here: www.phpclasses.org, which allows you to specify an SMTP
server at run-time.
--
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
------------------------------------------
/*
No sex with anyone in the same office
-- Murphy's Laws on Sex n8
*/