#19822 [Opn->Fbk]: Server error using mail() function and ISAPI
| From: | sniper@php.net | Date: | Tue, 08 Oct 2002 22:22:22 +0000 |
| Subject: | #19822 [Opn->Fbk]: Server error using mail() function and ISAPI | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-21852@lists.php.net to get a copy of this message | ||
ID: 19822
Updated by: sniper@php.net
Reported By: logico@avantel.net
-Status: Open
+Status: Feedback
Bug Type: IIS related
Operating System: Windows 2000 Server SP3
PHP Version: 4.2.3
New Comment:
Are you sure your php.ini file is read by PHP?
Check from the phpinfo() output to what value SMTP is set.
Previous Comments:
------------------------------------------------------------------------
[2002-10-08 15:49:07] logico@avantel.net
Thank you for replying!
That's not the problem because go the the cmd and type:
telnet smtp.uservers.net 25
And it connects perfectly, I can do all the HELO, TO, RCPT, etc... and
it works without a problem
------------------------------------------------------------------------
[2002-10-08 15:10:22] iliaa@php.net
The error you are seeing implies that there somekind of a problem using
the SMTP server you've specified in you php.ini. Please verify that the
specified SMTP server is avaliable and working correctly.
------------------------------------------------------------------------
[2002-10-08 14:39:20] logico@avantel.net
I want to use the mail function but it always trigger the following
warning:
Warning: Server Error in D:\Web\phpcollab\mail.php on line 3
I tried to run PHP as ISAPI and CGI and it's the same problem.
The source of mail.php is:
<?php
mail ("logico@avantel.net", "My subject", "Line 1\nLine 2\nLine 3");
?>
I'm almost sure that this is a bug because I've installed PHP plenty of
times in different machines and it's the first time I have this
problem.
Thank you in advance!
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19822&edit=1