Question

DKIM, DMARC and PHPMailer

Posted February 11, 2019 2k views
PHPEmailUbuntu 18.04

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!

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.

×
1 answer

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.

Submit an Answer