Make WordPress Core

Opened 5 months ago

Closed 5 months ago

Last modified 5 months ago

#52577 closed task (blessed) (fixed)

Update PHPMailer to 6.3.0

Reported by: ayeshrajans Owned by: 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 5 months 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)

5 months ago

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

#1 @SergeyBiryukov
5 months ago

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

#2 @SergeyBiryukov
5 months 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: https://github.com/PHPMailer/PHPMailer/releases/tag/v6.3.0

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

Props ayeshrajans.
Fixes #52577.

#3 @desrosj
5 months ago

  • Keywords has-dev-note added

This was mentioned in the miscellaneous developer changes developer note: https://make.wordpress.org/core/2021/02/23/miscellaneous-developer-focused-changes-in-wordpress-5-7/.

Note: See TracTickets for help on using tickets.