I have a site where users create profiles. They are prompted to confirm their emails via a confirmation email.
I am on a hostgator vps and have a google apps account. There is a mailer.php file in my site files, and it has a PHP script that runs to send out the confirmation email. However, this email is sent through my hostgator VPS and uses my local IP as the send IP.
What's needed in order to send all of this outgoing mail through my google apps account? I'm thinking its a re-written php script.