I'm using PHPMailer to send emails. Almost all users are having the email filtered into junk mail.
Why is this and what can be done to prevent it.
I'm sending it from no-reply@mydomain.com where mydomain.com is the domain it's being sent from.
I'm using PHPMailer to send emails. Almost all users are having the email filtered into junk mail.
Why is this and what can be done to prevent it.
I'm sending it from no-reply@mydomain.com where mydomain.com is the domain it's being sent from.
Check your DNS records at dnsstuff https://tools.dnsstuff.com/ Start with the DNSreport, then use the email specific tools at the bottom of the page.
You also might want to check and make sure you're not blacklisted somewhere.
I've been told to look at DKIM and SPF
I assume DKIM is set, under cpanel > email >Authentication > DKIM is enabled.
My SPF record is this
v=spf1 a mx include:websitewelcome.com ~all
headers on email.
Authentication-Results: spf=softfail (sender IP is 192.1.1.1)
smtp.mailfrom=mydomain.com; outlook.com; dkim=pass (signature was
verified)
Appears to be limited to outlook.com and hotmail.com
So, the IP of the sender doesn't match the SPF record. If it's really "websitewelcome.com", mail should be coming from an address other than 192.1.1.1.