Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 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:

Description

PHPMailer 6.3.0 is released with bug fixes.

Attachments (1)

52577.patch (67.8 KB) - added by ayeshrajans 2 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)

@ayeshrajans
2 years ago

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

#1 @SergeyBiryukov
2 years ago

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

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

For a full list of changes in this update, see the PHPMailer GitHub:
https://github.com/PHPMailer/PHPMailer/compare/v6.2.0...v6.3.0

Props ayeshrajans.
Fixes #52577.

#3 @desrosj
2 years 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.