Make WordPress Core

Opened 8 months ago

Closed 8 months ago

#64052 closed enhancement (fixed)

Update to PHPMailer 6.11.0

Reported by: sirlouen's profile SirLouen Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 6.9 Priority: high
Severity: normal Version:
Component: External Libraries Keywords: has-patch
Focuses: Cc:

Description

Time to update to PHPMailer 6.11.0
This version comes with some improvements that I need for #62940.

Change History (6)

This ticket was mentioned in PR #10084 on WordPress/wordpress-develop by @SirLouen.


8 months ago
#1

  • Keywords has-patch added

#2 @SirLouen
8 months ago

This version converts setLanguage into static meaning that some additional changes are required in class-wp-phpmailer.php.

#3 @SirLouen
8 months ago

I've tested sending an email without @domain.com in the from address in Spanish and got the error:

[29-Sep-2025 22:10:49 UTC] PHPMailer Error: Dirección no válida:  (From): test

Confirming that translations are working as expected.

#4 @SergeyBiryukov
8 months ago

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

In 60813:

External Libraries: Upgrade PHPMailer to version 6.11.0.

This is a large maintenance release with address parser improvements.

References:

Follow-up to [54937], [55557], [56484], [57137], [59246], [59481], [60623].

Props SirLouen, jrf, mukesh27, SergeyBiryukov.
Fixes #64052.

#5 @desrosj
8 months ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

Looks like a minor 6.11.1 follow up release has been published: https://github.com/PHPMailer/PHPMailer/releases/tag/v6.11.1

#6 @SirLouen
8 months ago

  • Resolution set to fixed
  • Status changed from reopened to closed

@desrosj I'm behind this, don't worry.
Already posted this with the patch and everything: #64055

Note: See TracTickets for help on using tickets.