Hi guys,
Can someone point me to a guide or explanation on how to setup DKIM and DMARC? I am using PHPmailer and my emails go to SPAM for outlook.
Thanks!
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!
See https://ademcirak.com/configure-server-for-sending-signed-email-dkim-spf-and-dmarc.html.
DKIM requires some knowledge about generating certificates. However, PHPMailer’s DKIM examples should help tremendously: https://github.com/PHPMailer/PHPMailer/tree/master/examples
DMARC is just a record you add to your DNS after you’ve done SPF and DKIM. This wizard I found can help create this: https://dmarcian.com/dmarc-record-wizard/
I also found http://www.appmaildev.com/en/dkim which will help you verify DKIM, SPF, and DMARC.
Google’s answer here gives some other tips to take a look at: https://support.google.com/mail/answer/81126. I haven’t tried out Google’s Postmaster tools, but Gmail itself does provide indication if DKIM and SPF pass.
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.