#50404 [Opn->Fbk]: can't use mail
| From: | fa@php.net | Date: | Wed, 09 Dec 2009 19:22:31 +0000 |
| Subject: | #50404 [Opn->Fbk]: can't use mail | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-145590@lists.php.net to get a copy of this message | ||
ID: 50404
Updated by: fa@php.net
Reported By: larry_mintz at primus dot ca
-Status: Open
+Status: Feedback
-Bug Type: Feature/Change Request
+Bug Type: *Mail Related
Operating System: Windows XP
PHP Version: 5.3.1
New Comment:
From your error message it seems like you're using XAMPP's PHP - so I'd
suggest retrying with the version from http://windows.php.net.
Mail server logfile would be helpful as well.
Previous Comments:
------------------------------------------------------------------------
[2009-12-08 00:48:49] larry_mintz at primus dot ca
Description:
------------
In testing mail() I get the following error:
Warning: mail() [function.mail]: SMTP server response: 501
Syntactically invalid HELO argument(s) in C:\XAMPP\htdocs\mailtest.php
on line 2
Observations:
[1] Firewall is turned off
[2] I am behind a router.
Here is test driver:
<?php
mail('old_ crow@primus.ca', 'feedback', 'its good',NULL);
echo" <P>Test</P>";
?>
Reproduce code:
---------------
---
From manual page: function.mail
---
Expected result:
----------------
that mail() should run
Actual result:
--------------
it doesn't See abover
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50404&edit=1