I installed a magento droplet (it was a magento 2, but I ended up having a magento 1.9.3 install there because reasons :) ), then I set up the dns for the domains and I configure the mail using google suite, with the mx records, the SPF and the DKIM that google gives me. When I send an email from the Google app the headers are correct and they pass all verification. Whenever the emails are directly sent from magento they always go to spam. This are the headers for the magento email: https://pastebin.com/pLxjjbXB
It’s obiously not using the correct SPF and DKIM I set up in the domain. The magento config is the usual, in mail settings I have the smtp of google and the port, and the rest of the config is magento’s default right out of the box. I didn’t do any special config on the server besides what was already there from the one click install.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @spartanvape
I’ve never used the SMTP, since I felt it was slow and I didn’t have enough logging. I would recommend that you use the SMTP Relay, which is also what Google recommends: https://support.google.com/a/answer/176600?hl=en
My setups with Magento has always been with a local Postfix server, which handles the queue and sends via the relay. That way, it will retry sending if it lost connection and I have a log of everything going out.
Hello, all
You can make sure that your mailing list is fully opted-in and that you’re using SMTP authentication.
Also to test the mail score of your emails you can use a website like:
and then send a valid test - an exact email with a valid - subject, message body, full signatures and attachments.
Regards, Alex
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.