I'm trying to send mail using a contact us form from our hosted gmail account. For example, our account is firstname.lastname@example.org and we are using hosted gmail for email.
I need an email script written in PHP that will send mail from our hosted gmail account. I know know it has to authenticated to gmails servers, but I have yet to find a working script. The SMTP authentication enable scripts I have tested will not work with a hosted gmail account.
Please refer me to a script that works or post the code here if possible. I would really appreciate it - I'm completely stuck.