ericovk
Verified User
I am having problems with Google Apps accepting the results of my mailform.
The problem:
On Google Apps I have, lets say the mailbox [email protected].
From my webserver I host a website on mydomain.com (same domain as the Google apps domain). The results of this webform is being sent with default php function of the Wordpress website (PHPMailer 5.2.10). The results are being emailed from the webserver to Google Apps' [email protected]. At least it tries to do, but my server's emailqueue is full with emails returned by Google Apps with the message:
2016-03-01 11:00:56 Received from <> R=1aah6u-0005Ji-4Y U=mail P=local S=2197 T="Mail delivery failed: returning message to sender"
2016-03-01 11:00:57 SMTP error from remote mail server after RCPT TO:<[email protected]>: host ASPMX.L.GOOGLE.COM [74.125.195.27]: 550-5.1.1 The email account that you tried to reach does not exist. Please try\n550-5.1.1 double-checking the recipient's email address for typos or\n550-5.1.1 unnecessary spaces. Learn more at\n550 5.1.1 https://support.google.com/mail/answer/6596 y127si6996218wmg.13 - gsmtp
2016-03-01 11:00:57 [email protected] F=<> R=lookuphost T=remote_smtp: SMTP error from remote mail server after RCPT TO:<[email protected]>: host ASPMX.L.GOOGLE.COM [74.125.195.27]: 550-5.1.1 The email account that you tried to reach does not exist. Please try\n550-5.1.1 double-checking the recipient's email address for typos or\n550-5.1.1 unnecessary spaces. Learn more at\n550 5.1.1 https://support.google.com/mail/answer/6596 y127si6996218wmg.13 - gsmtp
*** Frozen (delivery error message)
email body in the mailqueue says:
[email protected]
SMTP error from remote mail server after end of data:
host ASPMX.L.GOOGLE.COM [74.125.195.27]: 550-5.7.1 Unauthenticated email from mydomain.com is not accepted due
550-5.7.1 to domain's DMARC policy. Please contact administrator of
550-5.7.1 mydomain.com domain if this was a legitimate mail. Please visit
550-5.7.1 https://support.google.com/mail/answer/2451690 to learn about DMARC
550 5.7.1 initiative. gt8si36559115wjc.204 - gsmtp
I think Google isn't accepting the email because it is trying to verify the contact form sender's account details. Because the mail is being sent by PHPMailer, it needs no account details. We host other websites, also with Google Apps for email, but these sites doesn't have this problem with webforms.
How can I possibly fix this?
The problem:
On Google Apps I have, lets say the mailbox [email protected].
From my webserver I host a website on mydomain.com (same domain as the Google apps domain). The results of this webform is being sent with default php function of the Wordpress website (PHPMailer 5.2.10). The results are being emailed from the webserver to Google Apps' [email protected]. At least it tries to do, but my server's emailqueue is full with emails returned by Google Apps with the message:
2016-03-01 11:00:56 Received from <> R=1aah6u-0005Ji-4Y U=mail P=local S=2197 T="Mail delivery failed: returning message to sender"
2016-03-01 11:00:57 SMTP error from remote mail server after RCPT TO:<[email protected]>: host ASPMX.L.GOOGLE.COM [74.125.195.27]: 550-5.1.1 The email account that you tried to reach does not exist. Please try\n550-5.1.1 double-checking the recipient's email address for typos or\n550-5.1.1 unnecessary spaces. Learn more at\n550 5.1.1 https://support.google.com/mail/answer/6596 y127si6996218wmg.13 - gsmtp
2016-03-01 11:00:57 [email protected] F=<> R=lookuphost T=remote_smtp: SMTP error from remote mail server after RCPT TO:<[email protected]>: host ASPMX.L.GOOGLE.COM [74.125.195.27]: 550-5.1.1 The email account that you tried to reach does not exist. Please try\n550-5.1.1 double-checking the recipient's email address for typos or\n550-5.1.1 unnecessary spaces. Learn more at\n550 5.1.1 https://support.google.com/mail/answer/6596 y127si6996218wmg.13 - gsmtp
*** Frozen (delivery error message)
email body in the mailqueue says:
[email protected]
SMTP error from remote mail server after end of data:
host ASPMX.L.GOOGLE.COM [74.125.195.27]: 550-5.7.1 Unauthenticated email from mydomain.com is not accepted due
550-5.7.1 to domain's DMARC policy. Please contact administrator of
550-5.7.1 mydomain.com domain if this was a legitimate mail. Please visit
550-5.7.1 https://support.google.com/mail/answer/2451690 to learn about DMARC
550 5.7.1 initiative. gt8si36559115wjc.204 - gsmtp
I think Google isn't accepting the email because it is trying to verify the contact form sender's account details. Because the mail is being sent by PHPMailer, it needs no account details. We host other websites, also with Google Apps for email, but these sites doesn't have this problem with webforms.
How can I possibly fix this?