Update DKIM_sign.phps (#1521)

This commit is contained in:
Zdeněk Večeřa 2018-10-30 08:40:02 +01:00 committed by Marcus Bointon
parent f61707c9e7
commit 3c90248c01
1 changed files with 2 additions and 2 deletions

View File

@ -33,9 +33,9 @@ $mail->DKIM_passphrase = '';
//The identity you're signing as - usually your From address
$mail->DKIM_identity = $mail->From;
//Suppress listing signed header fields in signature, defaults to true for debugging purpose
$this->mailer->DKIM_copyHeaderFields = false;
$mail->DKIM_copyHeaderFields = false;
//Optionally you can add extra headers for signing to meet special requirements
$this->mailer->DKIM_extraHeaders = ['List-Unsubscribe', 'List-Help'];
$mail->DKIM_extraHeaders = ['List-Unsubscribe', 'List-Help'];
//When you send, the DKIM settings will be used to sign the message
if (!$mail->send()) {