views:

41

answers:

2

Hi, I've got google apps setup on my server with all the correct MX records etc, now i want to start testing it.

  • I want to use it for all automated emails (registration, lost password etc).

  • I'm testing on a localhost.

+1  A: 

You'll probably want to use PEAR Mail, and set it up using the SMTP settings provided to you by Google. I don't believe the built-in mail() command supports TLS, which is required for sending using Google.

Andrew Koester
A: 

Ok, the solution i've found is to use the PHPMailer class found here:

http://phpmailer.worxware.com/

Haroldo