jonniejoejonson Posted April 8, 2011 Share Posted April 8, 2011 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? Quote Link to comment https://forums.phpfreaks.com/topic/233109-php-mail-function-and-google-apps/ Share on other sites More sharing options...
BlueSkyIS Posted April 8, 2011 Share Posted April 8, 2011 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. Quote Link to comment https://forums.phpfreaks.com/topic/233109-php-mail-function-and-google-apps/#findComment-1198951 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.