[buddypress-trac] [BuddyPress Trac] #7024: BP no longer filters `wp_mail_from_name` when using `wp_mail()`

buddypress-trac noreply at wordpress.org
Mon Apr 18 19:07:55 UTC 2016

#7024: BP no longer filters `wp_mail_from_name` when using `wp_mail()`
 Reporter:  boonebgorges  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  API           |     Version:  2.5.0
 Severity:  normal        |  Resolution:
 Keywords:                |

Comment (by johnjamesjacoby):

 An example from the forums:


 For anyone that's already familiar with customizing WordPress's
 `wp_mail()` function, BuddyPress introduces an entirely new set of
 conventions that do not inherit WordPress's.

 Here are the commonly used WordPress filters `wp_mail()` has that
 BuddyPress does not have:

 * `wp_mail_from` (Done #6999?)
 * `wp_mail_from_name` (Done #6999?)
 * `wp_mail_charset`
 * `wp_mail_content_type`
 * `wp_mail_failed`
 * `wp_mail_original_content`


 For reference, BuddyPress avoided using `wp_mail()` because of its
 pluggable nature. I'd like to suggest this blocker be revisited (here or
 elsewhere's.) `wp_mail()` is widely used and relied upon, and not using

 * creates a negative developer experience
 * increases the learning curve of interacting with BP Email
 * increases our maintenance overhead of BuddyPress's codebase
 * duplicates a pretty significant portion of PHPMailer & friends

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7024#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list