[SOLVED] Google Apps Email Issue
this
Edit: forgot the domain, will probably help… thesoonergeek.com
8 Replies
v=spf1 include:aspmx.googlemail.com ~all
Using '-all' instead of '~all' is specifically frowned upon in the very google docs.
Hope it helps.
v=spf1 include:aspmx.googlemail.com ~all
and its sending fine, I also just migrated all my dns from slicehost to linode and have been sending emails last few days without issue.
do you have your google mail CNAME + MX records set up correctly?
Stu, the mail() function sends to your Google hosted mail on the same domain just fine?
";
$message="Hello test foo\r\n";
$message.="another line to send\r\n";
$message.="test sample message";
$sentmail = mail($to,$subject,$message,$header);
if($sentmail){
echo "Email Has Been Sent .";
}
else
{
echo "Cannot Send Email ";
}
?>
worked fine. I sent a test mail to my work email from my domain to verify outside with a non gmail/google mail setup domain. also tested as loopback to myself in gmail and again no problems so I know its being delivered internally and externally.
I use msmtp as my MTA. also verified using redmine (ruby) to send email.
/var/log/mail.log.0:Dec 16 14:40:34 ubuntu postfix/error[17864]: A222716066: to=<