Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Send email with PHP and GMail hosted for your domain
Mar 28, 2006 @ 07:31:25

GMail's "for your domain" email feature has already impressed quite a bit of the industry, but have you ever wished for something a little bit more? Have you wanted to be able to send things the same way, but from a PHP script? Vulgarisoip is here to help.

Now that GMail for your domain has arrived (if you're a lucky beta winner, that is) it's like hiring a world-class email server engineer and paying them nothing. It takes a little work because of GMail's security requirements, but you end up with a rock solid email server that won't send messages straight into spam folders.

He uses the PHPMailer pakcage to do the dirty work - ensuring the headers are correct and providing a simple API for your scripts to use. There's a brief code example with a small explaination, but there's really not that much to it - any coder could integrate it easily.

[digg it]

tagged: send email gmail hosted domain phpmailer send email gmail hosted domain phpmailer