Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in PHPMailer class DKIM_Add function array autoSignHeaders #2007

Closed
ghost opened this issue Mar 5, 2020 · 1 comment
Closed

Fix typo in PHPMailer class DKIM_Add function array autoSignHeaders #2007

ghost opened this issue Mar 5, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 5, 2020

Typo ('nessage-id') in array autoSignHeaders of PHPMailer class in DKIM_Add function.
rfc6376 defines no such field as 'nessage-id' is it meant to be 'message-id'.

//Always sign these headers without being asked
//Recommended list from https://tools.ietf.org/html/rfc6376#section-5.4.1
$autoSignHeaders = [
    'from',
    'to',
    'cc',
    'date',
    'subject',
    'reply-to',
    /**
     *  what are we upto here: 'nessage-id' or 'message-id'
     *  rfc6376 defines no such field as 'nessage-id'
     */
    'nessage-id',
    'content-type',
    'mime-version',
    'x-mailer',
];
Synchro added a commit that referenced this issue Mar 5, 2020
@Synchro
Copy link
Member

Synchro commented Mar 5, 2020

Yep, it was a typo introduced during recent changes in DKIM handling. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant