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.
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.
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.
Ok, the solution i've found is to use the PHPMailer class found here: