[buddypress-trac] [BuddyPress Trac] #6460: core function for all calls to wp_mail

buddypress-trac noreply at wordpress.org
Thu May 28 17:50:25 UTC 2015


#6460: core function for all  calls to wp_mail
-------------------------+------------------------------
 Reporter:  shanebp      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  API          |     Version:  2.2.3
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------------------

Comment (by espellcaste):

 My two cents about this.

 I've been dealing with emails in BuddyPress recently as I want custom HTML
 for some of the transactional emails sent by BuddyPress, which by the way,
 it's a little hard at first.

 For example, the activation key email doesn't have a filter to change the
 email from plain/text to HTML, forcing the developer to recreate the
 function in a plugin to accomplish that.

 I find the WooCommerce organization for email very interesting and
 something that BuddyPress could inspire for.

 https://github.com/woothemes/woocommerce/blob/master/includes/emails
 /class-wc-email.php

 It's well organized, it's easy for a non-developer to customize and change
 the content to the way one likes. All the emails are organized in one
 place, currently it's very hard to have idea of how many emails are sent
 by BuddyPress, unless you search.

 Also, bringing all emails call to the bp_wp_mail wrapper seems a good
 idea, but doesn't make it easy with the points I'm outlining above.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6460#comment:6>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list