WordPress.org

Make WordPress Core

Opened 12 days ago

Closed 11 days ago

Last modified 8 days 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:

Description

PHPMailer 6.3.0 is released with bug fixes.

Attachments (1)

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

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

#1 @SergeyBiryukov
11 days ago

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

#2 @SergeyBiryukov
11 days 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
8 days 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.