Skip to:
Content

BuddyPress.org

Opened 5 years ago

Closed 3 years ago

#6787 closed enhancement (maybelater)

User setting to pick plain text or HTML emails

Reported by: DJPaul Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Settings Keywords: good-first-bug, trac-tidy-2018
Cc:

Description

Currently, all emails BuddyPress sends by default are delivered in plain text. After #6592, the default will probably change to be HTML formatted. There will be a site-wide setting to switch between plain text and HTML, but there won't be a user-specific preference to choose whether to receive emails in plain text or HTML.

Most social networks or services that send a lot of email seem to offer this user preference, and it'd be a good enhancement if we added a new user setting for email preference.

Change History (5)

#1 @DJPaul
5 years ago

  • Keywords good-first-bug added

#2 @r-a-y
5 years ago

In the email plugin I built, I added an "Email Type" option directly on the "Settings > Email" page.

http://imgreview.com/i/gVMvR

I think this is the most logical place to put such an option.

To check what the user has set for their email type preference, I've hooked into the 'wp_mail' to determine the user ID and then set the email content type later on the 'wp_mail_content_type' filter:
https://github.com/r-a-y/wp-better-emails-for-bp/blob/master/wpbe-bp.php#L49-L53

#3 @DJPaul
5 years ago

That's a good suggestion for a location. Whoever patches this needn't worry about actually hooking into the wp_mail filters until I get the email code done/reviewed/committed, because we'll need to use other filters.

#4 @DJPaul
3 years ago

  • Keywords trac-tidy-2018 added

We're closing this ticket because it has not received any contribution or comments for at least two years. We have decided that it is better to close tickets that are good ideas, which have not gotten (or are unlikely to get) contributions, rather than keep things open indefinitely. This will help us share a more realistic roadmap for BuddyPress with you.

Everyone very much appreciates the time and effort that you spent sharing your idea with us. On behalf of the entire BuddyPress team, thank you.

If you feel strongly that this enhancement should still be added to BuddyPress, and you are able to contribute effort towards it, we encourage you to re-open the ticket, or start a discussion about it in our Slack channel. Please consider that time has proven that good ideas without contributions do not get built.

For more information, see https://bpdevel.wordpress.com/2018/01/21/our-awaiting-contributions-milestone-contains/
or find us on Slack, in the #buddypress channel: https://make.wordpress.org/chat/

#5 @DJPaul
3 years ago

  • Milestone Awaiting Contributions deleted
  • Resolution set to maybelater
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.