Thanks for the quick response. 1 and 2 work 3 does not giving "unable to relay for...." I had slight doubts about what to use for [EMAIL PROTECTED] I used my normal email address.
1.. Type helo me and press ENTER. The output resembles the following: 250 OK 2.. Type mail from:[EMAIL PROTECTED] and press ENTER. The output resembles the following: 250 OK - mail from <[EMAIL PROTECTED]> 3.. Type rcpt to:[EMAIL PROTECTED] and press ENTER. The output resembles the following: 250 OK - Recipient <[EMAIL PROTECTED]> Hope you can help Thanks Sean "John W. Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Sean wrote: > > > I cannot get mail() to work any idea's > > I get a server error. > > Windows 2000 the SMTP port is 25. > > No default values have being changed from the original PHP installation. > > > > In it's simplest form > > mail("[EMAIL PROTECTED]", "My Subject", "Test"); > > Gives the error as do more complicated scripts that I copied. > > Thanks > > Sean > > Follow the guidelines at the following URL to see where the error lies. > > http://support.microsoft.com/?kbid=286421 > > -- > ---John Holmes... > > Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ > > PHP|Architect: A magazine for PHP Professionals – www.phparch.com > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php