WordPress.org

Make WordPress Core

Opened 7 months ago

Last modified 3 weeks ago

#50049 new enhancement

PHPMailer and OAuth

Reported by: nicegamer7 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Mail Keywords:
Focuses: Cc:

Description

I noticed that in the PHPMailer class provided with WordPress, AuthType is limited to CRAM-MD5, LOGIN, or PLAIN. But I noticed this page in their wiki which says that support for XOAUTH2 was added in version 5.2.11.

I also took a look at the SMTP class provided with WordPress, and there is a OAuth variable, but it's not used for anything (at least as far as I could tell).

I think it would be nice if this functionality was included with WordPress.

Let me know what you think, thanks.

Change History (1)

#1 @sabernhardt
3 weeks ago

  • Component changed from General to Mail
Note: See TracTickets for help on using tickets.