RE: [PHP-WIN] Sending Mail with PHP4 on Windows 2000 Server

From: Date: Wed, 18 Oct 2000 15:17:53 +0000
Subject: RE: [PHP-WIN] Sending Mail with PHP4 on Windows 2000 Server
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-3345@lists.php.net to get a copy of this message
Hi, Just a question in between this topic. Is it possible to use SMTP with Windows 2000 Professional to send mail using the mail() function? I'm not in a network but can connect by ISDN with my ISP. I have an email-account with my internet provider. I started the SMTP service. Applied the data that was given in this conversation (localhost etc). PHP comes back with : Failed to Receive in d:\inetpub\wwwroot\mail.php. Greetinx, Martin Verstegen 2FIT -----Original Message----- From: Yoeri De Bruyn [mailto:yoeri_de_bruyn@multicap.be] Sent: Tuesday, October 17, 2000 9:46 AM To: Todd Gerstner; php-windows@lists.php.net Subject: RE: [PHP-WIN] Sending Mail with PHP4 on Windows 2000 Server Hi Todd! Didn't get that problem, but I guess or either your not sending to a proper SMTP server or the from email address was not filled in? In your php.ini you should fill in the SMTP section: [mail function] SMTP = localhost ;for win32 only -> localhost is the IP-alias or address of the host your SMTP server is running sendmail_from = me@localhost.com ;for win32 only I hope this helps you! good luck! Yoeri. The mail does get sent okay. The problem is that the mail() fuction does not return correctly and it times out. Anyone have this problem? If so, have you found a fix? -- 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 -- 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 (#3345) next »