mails going to spam folder

I am facing one issue related to my cloud server. All my emails are going to spam folder.

My domain having all important records like spf, dmarc, dkim. And all these records are tested and also working fine.

But when i am sending emails from php it is always pushing the email to spam folder.

Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.


You can Test your email score at this website:

After see your email score you can find your problems And solve problem Also please check your your ip address in blacklist you can use mxtoolbox:

Hello there,

First, make sure 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.

The result will help you to resolve any issues with the mail delivery and will pin point where you can improve the score of your outgoing emails like adding SPF or DKIM record.

Hope that his helps!

Hopefully no emails goes in inbox from DO :-( whether you have everything up to the mark as per email standard…