Skip to:
Content

BuddyPress.org

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#6945 closed enhancement (fixed)

Support existing plugins that set PHPMailer to use SMTP

Reported by: DJPaul Owned by: djpaul
Milestone: 2.5.1 Priority: normal
Severity: normal Version:
Component: Emails Keywords:
Cc:

Description

Certain plugins configure WordPress to use SMTP for PHPMailer, and don't re-implement wp_mail nor filter enable HTML. An example plugin that does this is "Easy WP SMTP".

Since we use PHPMailer, we ought to try to support these plugins since they're just tweaking how PHPMailer works, rather than re-implementing WordPress' entire email "API".

Change History (2)

#1 @djpaul
4 years ago

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

In 10635:

Emails: add WordPress' phpmailer_init action to support WordPress plugins that adjust PHPMailer's configuration.

Certain existing popular plugins configure WordPress to use SMTP for PHPMailer, and don't re-implement wp_mail() nor filter to enable HTML. Since we use PHPMailer, we ought to support these plugins since they're just tweaking how PHPMailer works rather than re-inventing the wheel.

We achieve this by adding the phpmailer_init action in addition to our own bp_phpmailer_init action.

Fixes #6945

#2 @djpaul
4 years ago

In 10636:

Emails: add WordPress' phpmailer_init action to support WordPress plugins that adjust PHPMailer's configuration.

Certain existing popular plugins configure WordPress to use SMTP for PHPMailer, and don't re-implement wp_mail() nor filter to enable HTML. Since we use PHPMailer, we ought to support these plugins since they're just tweaking how PHPMailer works rather than re-inventing the wheel.

We achieve this by adding the phpmailer_init action in addition to our own bp_phpmailer_init action.

Fixes #6945 (2.5 branch)

Note: See TracTickets for help on using tickets.