Oôv as&äönsson wrote:
Hello everybody :).
I having a little problem with PHPs build in function mail(). The mailserver isnt located on the webserver, its on another machine. I have tryed ini_set("SMTP", "ipaddress"); with no result.
The system I'm on runs on an Linux box.
Can this be done or must I write an own mail function, with sockets?
_________________________________________________________________ Lättare att hitta drömresan med MSN Resor http://www.msn.se/resor/
The smtp settings are only for PHP on Windows. You don't have to write your own, though, it's been done for you. :-)
PEAR's Mail package has an smtp backend which will do all of it for you.
http://pear.php.net/package/Mail
-- paperCrane <Justin Patrin>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php