Re: RE: How to send an email using php in windows 2000

From: Date: Wed, 11 Oct 2000 05:30:50 +0000
Subject: Re: RE: How to send an email using php in windows 2000
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-3128@lists.php.net to get a copy of this message
I can send mail no problem with this arrangement on Win2K: ------------------------------- PHP.INI [mail function] SMTP = your-ISP.SMTPMailServer.com -------------------------------------------------------------- some php code.... mail($to, $subject, $message) -------------------------------------------------------- SENDing mail doesn't require id and password authentication, just for READing mail as I understand it. I have to be connected to the ISP at the particular moment ;- ) Maybe that satisfies the id for sending mail? At least, this arrangement works with my ISP and my settings. (using IIS v5 of course) HTH, DWilliams ""Phil Driscoll"" <phil@dialsolutions.co.uk> wrote in message news:001e01c03058$403ed9d0$0c800001@philsntserver... > >What you've been trying to do in Windows, is to use PHP's sendmail > functions > >which unfortunately won't work. Windows will not allow you to use the mail > >functions, because these depend on the system's ability to send mail from > >the command line (like Unix's sendmail). > > > >What you actually need to do is to connect directly to the SMTP server > using > >sockets, perform the username/password negotiation and then send the > e-mail. > Maybe I'm missing something here, but I think that php's mail function under > windows does exactly that - ie use a socket to talk to the mail server. It > does not use a command line type method of mailing. > > Cheers > -- > Phil Driscoll > Dial Solutions > +44 (0)113 294 5112 > http://www.dialsolutions.com > http://www.dtonline.org > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.windows (#3128) next »