SMTP Server – 501 5.5.4 Invalid Address

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.

บอกต่อ....
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Twitter
  • email

Facebook comments:

Leave a Reply

You must be logged in to post a comment.