Apr 24
Technical

When I use this php command over VPN connection, It'll response with error message `501 5.5.4 Invalid Address`

  • mail($to,$subject,$message,"From: PHP Client <no-reply@example.com>");

Change to

  • mail($to,$subject,$message,"From: no-reply@example.com");
I really don't know the root cause of that. Because I can use php command #1 normally over LAN connection. But when I working outside and use VPN connection back to my home, it will show error message. It might be come from Windows 2003 SMTP Server, or might be come from internal PHP script. if you have a same problem, try the same things. Hope this will help.


Posted by Scalopus+

Defined tags for this entry: , ,

Last modified on 2008-05-01 15:27

0 Trackbacks

  1. No Trackbacks

0 Comments

Display comments as(Linear | Threaded)
  1. No comments

Add Comment


Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA