[buddypress-trac] [BuddyPress Trac] #8104: add filter in bp_send_email to allow html email in wp_mail call

buddypress-trac noreply at wordpress.org
Tue Jul 2 07:09:11 UTC 2019


#8104: add filter in bp_send_email to allow html email in wp_mail call
-------------------------------+-------------------------------------
 Reporter:  shawfactor         |       Owner:  DJPaul
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Contributions
Component:  Emails             |     Version:  4.3.0
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+-------------------------------------
Changes (by imath):

 * milestone:  Awaiting Review => Awaiting Contributions


Comment:

 I think we need time to work on this need. From what I understand so far:

 If the plain text is used although `wp_mail` content type is filtered to
 be `text/html` is probably due to the fact some plugins might use their
 own template (header/footer) and forcing ours might be a problem.

 I also think only sending html e-mails can be problematic for receivers
 who set their mail software to only accept plain text. BP e-mails are
 including an alternate text version of the html e-mail for this case. I
 don’t see right now how we can/ if we need to check if the use made with
 `wp_mail` contains this alternate version (I know it’s possible).

 Let’s wait for contributions by the community or other members of the dev
 team.

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


More information about the buddypress-trac mailing list