Hi I am looking to send mail from my website hosted at webfaction using Gmail's mail servers I have followed the instructions here http://docs.webfaction.com/user-guide/email.html#email-google-apps When I send an email as is, it works fine. But shouldn't there be a place to put your gmail username and password? I was thinking inside the PHP script itself as smtp_user and smtp_pass. When I try this the page just hangs indefinetly. If we don't need username and pass, how can Google verify that this is indeed the real email it is coming from. In other words how does it know I'm not using a fake 'from' address Is the answer in the mail server information I provided in the 'Domain' section (as explained in the link above)? Thanks! asked 21 Jun '13, 16:12 mcmaxx |
The instructions at Using Google Apps for Email have nothing to do with using Gmail's SMTP service. Those instructions are for configuring your domain to use Google as it's MX servers (ie, where your mail actually gets delivered). GMail SMTP does indeed require authentication with your Gmail credentials. Their recommended SMTP settings are available here: GMail SMTP settings Hope that helps! answered 21 Jun '13, 16:31 seanf |