Re: "Unknown error..." Using The Mail Function

From: Date: Tue, 26 Dec 2000 04:54:22 +0000
Subject: Re: "Unknown error..." Using The Mail Function
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-4660@lists.php.net to get a copy of this message
If you want to use localhost to send the mail, you have to have a SMTP server setup on the same system as the server PHP is running on. Matthew At 09:24 AM 12/25/2000 -0700, you wrote:
I am new to PHP 4 and have just installed it on Window Me along with the Apache web server and am using MS Outlook for my mail softsware. I have configured the [mail function] section of PHP.INI for the two parms as follows: SMTP=localhost and sendmail_from=labeyta@flash.net. When I try to use the mail function I get the error message below. Line 11 reads: mail("labeyta@flash.net", "Subject", "Message Body"); Warning: Unknown error in c:\program files\apache group\apache\htdocs\send_simpleform.php on line 11 TIA Louis Abeyta


« previous php.windows (#4660) next »