Jump to content

php mail function and google apps


jonniejoejonson

Recommended Posts

I have my dns set so that it uses google servers to handle my email.

 

I have a spf record:

Host:    @

TXT Value:    v=spf1 include:_spf.google.com ~all

 

However if I want to send mail using the php mail function how do I do this? because it is getting seen a spam because I assume it is not being seen as coming from google servers but from my websites server?... what do I do in this case?

 

Link to comment
https://forums.phpfreaks.com/topic/233109-php-mail-function-and-google-apps/
Share on other sites

what do I do in this case?

 

you'll have the best luck sending emails out using a domain that actually resolves to the server sending the email. You will not be able to sit a google.com domain on your server, so you'll have to use a non-google.com sending email address.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.