DKIM Signature not get verified (no key for signature)

I had added a dkim txt record in my domain, it works fine.enter image description here

I had added the signature in my email using phpMaier library but when the email goes to Gmail and I inspected that dkim verification failed. Can you help with that? Also, I didn't explicitly set up any SPF and dmarc records.

// sign
$mail->DKIM_domain = 'redravian.com';
$mail->DKIM_private = __DIR__.'/key.private';
$mail->DKIM_selector = '1636290028.redravian';
$mail->DKIM_passphrase = ''; //key is not encrypted

It's getting the following errors:enter image description here

enter image description here

2 Related questions 18 How do I verify a DKIM signature in PHP? 6 Signing mails sent through SMTP with DKIM 3 How to send email with Phpmailer with DKIM signature? Related questions 18 How do I verify a DKIM signature in PHP? 6 Signing mails sent through SMTP with DKIM 3 How to send email with Phpmailer with DKIM signature? 6 DKIM Signature not validating when sending mail with PHP 23 Send mail in phpmailer using DKIM Keys 1 Phpmailer use dkim 1 can't sign DKIM email from php with phpmailer 0 I have configured DKIM but signature verification is failing 1 DKIM check invalid with PHPMailer 0 DKIM DNS Record found but emails indicate no signature found Load 7 more related questions Show fewer related questions Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like