Mail could not verify that it actually came from my domain.

November 10, 2019 139 views
Networking

Hello everybody,
I have gmail as business email provider connected to my e-commerce webshop. I have my droplet and DNS records hosted at Digitalocean. When I send emails I get this warning in email:
“Mail could not verify that it actually came from yourdomain. Avoid clicking links, downloading attachments, or replying with personal information.”
I have searched for fixes and so far I have done this:

  1. Added a TXT record for domain with value = v=spf1 include:_spf.google.com ~all
  2. Made sure that droplet name exactly matches domain name.

I still get warning so not sure what to do more.
Anyone had the same problem?

Thanks.

1 Answer

Hello,

This sounds like that you are sending the emails from your website directly, in most cases you would see this problem if you don’t use SMTP but simple PHP mail.

I would recommend adjusting your e-commerce shop to use SMTP and then use the Gmail SMTP details. That way the emails sent from your shop would go through Gmail directly rather than being sent from your droplet.

Hope that this helps!
Regards,
Bobby

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!