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.
Comments
Fri, 01.08.2008 09:01
อยากมีความรู้เยอะๆอ่ะ แนะนำบ้า งนะค่ะ
Mon, 21.07.2008 15:33
สาขาศาลายมงเช้าา เปิดทุกวันตั้ งแต่ 9 โมงเช้า - 4 ทุ่ม ทุกวัน
Mon, 23.06.2008 00:15
good idea
Fri, 20.06.2008 00:50
โอ้ ปั้นหมีโหดมั่งๆ อิ อิ