php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #50404 can't use mail
Submitted: 2009-12-08 00:48 UTC Modified: 2009-12-17 01:00 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: larry_mintz at primus dot ca Assigned:
Status: No Feedback Package: *Mail Related
PHP Version: 5.3.1 OS: Windows XP
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2009-12-08 00:48 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-12-09 19:22 UTC] fa@php.net
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.
 [2009-12-17 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Fri May 24 05:01:27 2019 UTC