I have searched various other places for an answer but have found none. I imagine that the problem is caused by something simple that I am doing wrong but if not this will be going on a Linux server when it works is there another commonly used way of sending mail that the web hosting service will not complain about setting up. Also I don't think there should be any major difference between php script for Windows or Linux is that right? Thanks Sean
"Sean" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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