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
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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.