Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#52577 closed task (blessed) (fixed)

Update PHPMailer to 6.3.0

Reported by: ayeshrajans's profile ayeshrajans Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 5.7 Priority: normal
Severity: normal Version:
Component: External Libraries Keywords: has-patch has-dev-note
Focuses: Cc:


PHPMailer 6.3.0 is released with bug fixes.

Attachments (1)

52577.patch (67.8 KB) - added by ayeshrajans 3 years ago.
Updating with verbatim v6.3.0 from Github, and patching with 3 hunks for PHPCS rules.

Download all attachments as: .zip

Change History (4)

3 years ago

Updating with verbatim v6.3.0 from Github, and patching with 3 hunks for PHPCS rules.

#1 @SergeyBiryukov
3 years ago

  • Milestone changed from Awaiting Review to 5.7
  • Type changed from enhancement to task (blessed)

#2 @SergeyBiryukov
3 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 50397:

External Libraries: Upgrade PHPMailer to version 6.3.0.

This is a maintenance release. Changes include:

  • Handle early connection errors such as 421 during connection and EHLO states.
  • Make the mail() and sendmail transports set the envelope sender the same way as SMTP does, i.e. use whatever From is set to, only falling back to the sendmail_from php.ini setting if From is unset. This avoids errors from the mail() function if Sender is not set explicitly and php.ini is not configured. This is a minor functionality change, so bumps the minor version number.
  • Extend parseAddresses to decode encoded names.

Release notes:

For a full list of changes in this update, see the PHPMailer GitHub:

Props ayeshrajans.
Fixes #52577.

#3 @desrosj
3 years ago

  • Keywords has-dev-note added

This was mentioned in the miscellaneous developer changes developer note:

Note: See TracTickets for help on using tickets.