Re: Mail

From: Date: Sat, 09 Aug 2003 11:58:41 +0000
Subject: Re: Mail
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-158983@lists.php.net to get a copy of this message
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 youremail@yourdomain 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@domain.com and press ENTER. The output resembles the following: 250 OK - mail from <email@domain.com> 3.. Type rcpt to:youremail@yourdomain.com and press ENTER. The output resembles the following: 250 OK - Recipient <youremail@yourdomain.com> Hope you can help Thanks Sean "John W. Holmes" <holmes072000@charter.net> wrote in message news:3F346DF3.2090408@charter.net... > 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("joecool@example.com", "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 > > > >

« previous php.general (#158983) next »