RE: [PHP-WIN] Still in trouble with mail()

From: Date: Wed, 20 Mar 2002 19:05:16 +0000
Subject: RE: [PHP-WIN] Still in trouble with mail()
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-12695@lists.php.net to get a copy of this message
-----Original Message----- From: Alberto. Sartori [mailto:alberto.sartori@cellnetwork.it] Sent: Wednesday, March 20, 2002 06:58 AM To: php-windows@lists.php.net Subject: [PHP-WIN] Still in trouble with mail() Hey guys, I'm still in trouble by sending email with mail() function. As I've described some last posts ago, that function return me "Server error". Someone told me that my machine is not a mail server, but since php 4.0 I used mail() with no problem. My SMTP Service in IIS is correctly configured, I'm sure! anybody got the same problem? thanks My pc is Win2k SP2 italian, IIS 5 I've a similar problem, one that has been with me since 4.04pl1, only a bit worse, it seems. In my case, the mail() function doesn't work, period. There are no errors returned, it simply does not work. Running phpinfo reveals that my system sees neither my SMTP setting, nor my sendmail from setting. This, I have discovered, is due to the fact that my php.ini file isn't being parsed. So, I place an ONLY copy of it on my system into my Windows folder, and while phpinfo then returns the proper setting information, PHP no longer works for the user pages, returning instead, reams of error texts. I've scoured the archives from top to bottom, and have found no answers that have worked personally, and posted many queries on various lists, all to no avail. Presently, I am running 4.1.1, using OmniHTTPd 2.09, and have no php.ini file. The only way I can get PHP to work for me, is to prevent the system from parsing the ini file, and letting PHP run under what I can only presume is it's default settings. If this has any bearing, I've also attempted to set PHP up with Apache 1.3.23, with a bit different results. Under Apache, the ini file doesn't appear to have to be in the Windows folder, as long as you tell Apache where to look for it in the http.conf file, it is parsed, and my desired settings are reflected by phpinfo. In both cases, however, PHP ceases to function, returning only error texts instead of the expected results. As mentioned, I've posted this here, as well as on the Apache lists, and the Omni list, and have as yet to receive any response. I suppose I'll just be happy that it works as well as it does, and hope for a solution one of these days. System Specs: Intel P3/1000, 512M RAM, WIN98SE, fully patched Regards, webmaster@dfxwebs.com --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.338 / Virus Database: 189 - Release Date: 3/14/02

« previous php.windows (#12695) next »