CodeIgniter Forums
DKIM Signature with email function - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=11)
+--- Thread: DKIM Signature with email function (/showthread.php?tid=88917)



DKIM Signature with email function - humbucker - 12-01-2023

Hello,
I'm using CI4 for a production project, and more and more emails sent through CI email function are being rejected because they are not signed with a DKIM signature.
I have these settings in my .env file
PHP Code:
email.fromEmail 'xxx'
email.fromName 'xxx'
email.mailType 'html'
email.SMTPHost 'xxx'
email.SMTPUser 'xxx'
email.SMTPPass 'xxx'
email.SMTPPort '465'
email.SMTPCrypto 'ssl' 
What should I add to use my DKIM private key here ?
Thank you


RE: DKIM Signature with email function - kenjis - 12-01-2023

You can't. There is no such feature.
If you want, implement it by yourself.
But it is better to have your mail server do it.

See https://github.com/PHPMailer/PHPMailer/wiki/Improving-delivery-rates%2C-avoiding-spam-filters#missing-or-failing-dkim-signatures