Re: MaiL() function

From: Date: Fri, 16 Jun 2000 19:35:04 +0000
Subject: Re: MaiL() function
References: 1  Groups: php.general php.windows 
Request: Send a blank email to php-general+get-2097@lists.php.net to get a copy of this message
Precedence: bulk Hello Jonathan, On 16-Jun-00 13:53:49, you wrote: >I got a production server running IIS on windows2000 with php4-release, and >one of my scripts maintains a emailing contact, and using mail(), as >mail("dme@kh.com", "the subject", "Request","From: >del@kh.com\nReply-To: >webmaster@kh.com\nX-Mailer: 234"); >upon execution, I get the Error as follows: >Warning: Unknown error in C:\Inetpub\wwwroot\www\newsite\www2\sendmail.php >on line 13 >Then I edited c:\winnt\php.ini as told in the documents and set SMTP = >mail.kh.com, and I restarted IIS, and came up with the same problem. If everything fails with you, you may like to try this PHP SMTP class that lets you see the dialogue between the client (PHP script) and the SMTP server just by setting a debug flag. It maybe the case that the sender address of you message may be refused by your server. http://phpclasses.UpperDesign.com/browse.html/package/14 Regards, Manuel Lemos Web Programming Components using PHP Classes. Look at: http://phpclasses.UpperDesign.com/?user=mlemos@acm.org -- E-mail: mlemos@acm.org URL: http://www.mlemos.e-na.net/ PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp --

« previous php.general (#2097) next »