ID: 50404 Updated by: f...@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_ c...@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