Google Hosted Apps and Sending Mail From a Web Server

Recently, I discovered that while hosting your e-mail services on Google has its advantages, it also brings with it some minor inconveniences. When you use a script on most Web servers to send e-mail messages, if your e-mail is not hosted locally on that server, your e-mail messages will never arrive in your inbox. Instead, the mail gets delivered to an e-mail account on your Web server if there is one; if there isn’t, the message gets rejected and goes into a black hole.