|mx record and googlemail
|Page 1 of 1|
|Author:||Ulrich [ Mon Apr 11, 2011 5:39 pm ]|
|Post subject:||mx record and googlemail|
I read a lot of threads on here but im still confused about setting up the mx record correctly for google. I have a google mail account and they say the mx record must be set up to:
Since one can only setup one mx record on Freehostia, I took the first one. However, the following php test script does not send the email as expected although it displays: "Mail sent".
$to = "firstname.lastname@example.org";
$subject = "Test mail";
$message = "Hello! This is a simple email message.";
$from = "email@example.com";
$headers = "From:" . $from;
echo "Mail Sent.";
Whats wrong here? The script? Or the mx record or anything else? Have I still to do something special with my google account? What about setting smtp.googlemail.com in the mx record? Thanks for any help.
|Author:||widwool [ Mon May 02, 2011 9:33 am ]|
Please note that you will have to set either the "TO" or the "FROM" filed of your e-mail form to be an operational e-mail address created with your account with us, so the mail form could be operational.
If you have any other questions, please let us know.
|Page 1 of 1||All times are UTC|
|Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group