admin管理员组

文章数量:1317906

Not sure if this is wordpress or woocommerce-specific but I've run into an issue where emails aren't being sent out if the FROM email is my personal gmail.

  • When the FROM header is set to [email protected], I receive emails immediately

  • When the FROM header is set to [email protected], I don't get any emails.

  • When the FROM header is set to [email protected], I receive emails immediately

According to WP Mail Logger, emails were sent out with no errors in all instances. It's funny that the third email actually gets sent out, given that I have no control over blahblahblah.co although it does seem to be registered

Is this a gmail security thing? I do find it kind of suspicious that I'm able to enter completely random emails and claim to send emails from them, but how would I debug this issue?

Not sure if this is wordpress or woocommerce-specific but I've run into an issue where emails aren't being sent out if the FROM email is my personal gmail.

  • When the FROM header is set to [email protected], I receive emails immediately

  • When the FROM header is set to [email protected], I don't get any emails.

  • When the FROM header is set to [email protected], I receive emails immediately

According to WP Mail Logger, emails were sent out with no errors in all instances. It's funny that the third email actually gets sent out, given that I have no control over blahblahblah.co although it does seem to be registered

Is this a gmail security thing? I do find it kind of suspicious that I'm able to enter completely random emails and claim to send emails from them, but how would I debug this issue?

Share Improve this question asked Oct 28, 2020 at 0:02 MxLDevsMxLDevs 1256 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

Most recieving mail systems will reject an email with a 'from' of [email protected] when the email is sent from the mydomain system. This is to prevent mail relaying, a form of spam.

You need to make sure that your 'from' email address matches your domain. The actual email address (like [email protected] for mydomain) doesn't need to exist, but the mydomain in the email must match the mydomain domain name of the sending mail server.

You can always set the 'reply-to' of an email as [email protected], and that mail will be delivered through yourdomain mail server. That allows someone to reply to your gmail account.

本文标签: Woocommerce emails from gmail not being sent