DKIM config is missing when sending through queue
-
I set a DKIM configuration with this code:
function phpmailer_dkim( $phpmailer ) { $phpmailer->DKIM_domain = 'mydomain.com'; $phpmailer->DKIM_selector = 'phpmailer'; $phpmailer->DKIM_private = '/path/to/my/private.key'; $phpmailer->DKIM_private_string = ''; // string takes precedent over line above $phpmailer->DKIM_passphrase = ''; // if key encrypted $phpmailer->DKIM_identity = $phpmailer->From; } add_action( 'phpmailer_init', 'phpmailer_dkim' );
And the email is correctly signed when I use the Send Test Email tool, but if I use Queue Test Email the email is not signed (there is no DKIM signature).
Why the PHPMailer DKIM configuration is lost when using the queue? How can I fix this?
Thanks!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘DKIM config is missing when sending through queue’ is closed to new replies.