On Saturday 07 December 2002 04:35, Anthony Ritter wrote: > Gentlemen, > Thank you for your assistance. > > The PHP mail scripts were taken from Julie Meloni's book on PHP called > "Fast and East" on pp. 116-117. (PrimaTech).
Let's not blame it on her. > In fact, she writes: [snip] Right, but didn't heed her advice? > For example in my php.ini file on Windows contains this: > > [mail function] > SMTP = localhost > sendmail_from = [EMAIL PROTECTED] Those are _her_ settings, doesn't necessarily work for you as well. > So that's what I did -using localhost - and I get: I think Julie is sure glad you didn't use her email address as well ;-) > "failed to connect". > > I'm at a loss. Others have already pointed out, only use localhost IF AND ONLY IF you have an SMTP server running on the same machine as your webserver. Otherwise try using whatever SMTP server you're using to send mail from your mail client. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* You can tell how far we have to go, when FORTRAN is the language of supercomputers. -- Steven Feiner */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php