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
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to