I'm trying to sign emails with DKIM using PHPMailer Class and i can't get it to work.
When i see the headers in my emails on gmail, i find that the class is successfully injecting DKIM in the email header but gmail doesn't even care.
The question is that i've viewed the headers of linkedIn emails and i found out that they are using 2 DKIM headers, DomainKey-Signature
& DKIM-Signature
.
What's the difference? and is that why Gmail doesn't verify my emails? & do you recommend any alternative & robust classes to sign emails with domain keys on php?
Thanks
Both use Public/Private keys to digitally sign emails. Both use a text file in the sender's DNS server that contain the public key that can be used by the recipient to verify the signature.
Domain Keys was the first version.
DKIM is the updated version.
The difference is how Domain Keys and DKIM sign the messages, and build the header.
Email recipients may implement either of them (or both). The only thing you can do, is sign with both classes, if you want to cover all bases.
Do you want the technical details on the differences between DomainKeys vs DKIM?
--Dave