RE: [PHP-WIN] sending email out using php?

From: Date: Fri, 11 Jan 2002 20:57:35 +0000
Subject: RE: [PHP-WIN] sending email out using php?
Groups: php.windows 
Request: Send a blank email to php-windows+get-11394@lists.php.net to get a copy of this message
Brian, It seems that you are getting the message because PHP doesn't know how to connect to "server", therefore you need to tell it where to connect to. In you php.ini, you need to set the SMTP value where the line says "server" to something meaningful. This value needs to point to a valid smtp relay. For example, if your webserver also relays smtp: SMTP = localhost ;for win32 only sendmail_from = Webmaster <webmaster@yourdomain.com> ;for win32 only -----Original Message----- From: Brian [mailto:wampus007@yahoo.com] Sent: Friday, January 11, 2002 12:46 PM To: php-windows@lists.php.net Subject: [PHP-WIN] sending email out using php? I'm using php 4.0, winXP(pro), OmniHTTPd Pro 2.0. i want to beable to have users register and then have my script send out an email to them confirming registration. i keep getting this error: Warning: Failed to Connect in auth.php on line 168 The code in auth.php is correct because i got it off a site where people had success using it. In my php.ini thing (im using the 'optimized' version thats included with the download), heres my [mail function] stuff: SMTP = server ;for win32 only sendmail_from = server ;for win32 only ;sendmail_path = ;for unix only... Everything else works fine. Any ideas? Thanks, Brian -- 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 (#11394) next »