Re: Problems with mail()

From: Date: Mon, 15 Apr 2002 14:55:44 +0000
Subject: Re: Problems with mail()
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-13111@lists.php.net to get a copy of this message
I have run into this problem before. When using Windows, make sure you are using the CRLF sequence for hard returns rather than just LF. i.e. \r\n instead of \n a simple str_replace will allow you to format it correctly before sending. good luck p. Adolfo Meneses wrote:
Welcome to the club! I have the same problem, try to put your ISP smtp server. or install the smtp server that come with iis5. i still dont have a solution to me. Adolfo ----- Original Message ----- From: "Alberto. Sartori" <alberto.sartori@cellnetwork.it> To: <php-windows@lists.php.net> Sent: Wednesday, March 13, 2002 6:40 AM Subject: [PHP-WIN] Problems with mail()
Hi guys. I've a big problem using mail() function. My system run under
Win2k SP2 italian, with IIS 5 and PHP 4.1.2 (although I got this prob since 4.1.0). This is my php.ini
[mail function] ; For Win32 only. SMTP = localhost ; For Win32 only. sendmail_from = admin@boiler.com I've tried to replace SMTP value with 127.0.0.1 or with my subnet
IP....nothing to do!
It appears "Warning: Server Error in c:\inetpub\wwwroot\esempi\email.php
on line 19"
This is my line 19: mail("ras78@caltanet.it","hi lamer","all ok?"); It could be a bug? if I run this code under a english version of Win2k all
works fine. My SMTP server in IIS is correctly configured, I'm sure about this!
Best regards, alb -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.windows (#13111) next »