DEV Community

VivekOffc
VivekOffc

Posted on

How to stop email going to spam

I sent email using php mailer but the email going to spam .how to stop it

Top comments (3)

Collapse
 
pankajpatel profile image
Pankaj Patel

The email might reach spam if there is some information missing in the email header; details like Name, reply-to address etc. Using SSL vert on domain also helps in making email safer and less likely to be marked as spam.

One way can be to add that email in the email host so that reverse lookup on that email can show that the email exists; email from non-existing addresses will more likely reach to spam.

Collapse
 
vivekoffc profile image
VivekOffc

Thanz i will check it

Collapse
 
dennmart profile image
Dennis Martinez • Edited

Spam analysis is tricky since it depends on a lot of different factors - message content, mail server configuration, your IP address, and so on.

One awesome tool I use to check my emails is mail-tester.com/. It's a free tool that gives you a temporary email address where you can send one of your emails. The service will then process the message and calculate a score with a report on what's okay and what's potentially causing your messages to fall into spam. I've caught a lot of small issues on some messages that fixed a lot of spam issues for me.

It's not perfect since mail servers process spam differently. But this tool will point you in the right direction to catch most major problems.