Title: Format Emails
Last modified: August 31, 2016

---

# Format Emails

 *  Resolved [ripteh1337](https://wordpress.org/support/users/ripteh1337/)
 * (@ripteh1337)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/format-emails/)
 * Hello,
 * Where can i go to format the replies for approval, denial and etc?
 * Users get a non-formatted ugly reply
 * [https://wordpress.org/plugins/bp-registration-options/](https://wordpress.org/plugins/bp-registration-options/)

Viewing 13 replies - 1 through 13 (of 13 total)

 *  [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [10 years, 3 months ago](https://wordpress.org/support/topic/format-emails/#post-7072939)
 * I have attempted to allow for HTML emails, but it may need debugged to figure
   out why it may not be working.
 * I also know that BuddyPress version 2.5 is going to a new BP Email setup that
   I’m planning to integrate with as best I can. That should also help alleviate
   html emails as well.
 *  [criana](https://wordpress.org/support/users/criana/)
 * (@criana)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/format-emails/#post-7073209)
 * Hi Michael,
    Just wanted to check in to see if there was any update on this. 
   I see BuddyPress 2.5.2 is out and has a nice Email management area now, but not
   a hook/tie in with BP Registration Options.
 * Thanks
 *  [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [10 years, 2 months ago](https://wordpress.org/support/topic/format-emails/#post-7073212)
 * There hasn’t been, to be honest. Most definitely aware of the new email stuff
   in the latest BuddyPress, but have not managed to find the time to integrate 
   yet.
 *  [criana](https://wordpress.org/support/users/criana/)
 * (@criana)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/format-emails/#post-7073214)
 * Hi Michael,
    Thanks for the update, I know how precious time can be and how quickly
   it disappears. Look forward to a future update with the integration and hope 
   it’s not too painful.
 *  [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [10 years, 2 months ago](https://wordpress.org/support/topic/format-emails/#post-7073216)
 * Welcome.
 *  [navyspitfire](https://wordpress.org/support/users/navyspitfire/)
 * (@navyspitfire)
 * [10 years ago](https://wordpress.org/support/topic/format-emails/#post-7073225)
 * Hi Michael, so are HTML emails not allowed for approved/denied users? Or if they
   are, where is the template file(s) located?
 *  [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [10 years ago](https://wordpress.org/support/topic/format-emails/#post-7073226)
 * I tried doing a rudamentary html support version in the plugin in probably 4.1
   or 4.2, i forget which, but I’m not sure it ever worked like I intended. BuddyPress
   has since come out with their own email setup, but I haven’t had a chance to 
   convert things to that yet.
 *  [navyspitfire](https://wordpress.org/support/users/navyspitfire/)
 * (@navyspitfire)
 * [10 years ago](https://wordpress.org/support/topic/format-emails/#post-7073227)
 * So in short, no?
 *  [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [10 years ago](https://wordpress.org/support/topic/format-emails/#post-7073228)
 * Not sure why the text/html filters don’t work. Perhaps I’m misunderstanding their
   purpose or I’m not applying at the right time. I’m not against a 4.2.12 release
   if it helps fix that in the meantime, but just haven’t had a chance to touch 
   on this plugin as a whole much, and would prefer focusing more on the new BP 
   email integration instead.
 * So short answer, not unless there’s a quick fix I missed. Longer answer above
   😀
 *  [navyspitfire](https://wordpress.org/support/users/navyspitfire/)
 * (@navyspitfire)
 * [10 years ago](https://wordpress.org/support/topic/format-emails/#post-7073229)
 * Got it, thanks.
 *  [onico0](https://wordpress.org/support/users/onico0/)
 * (@onico0)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/format-emails/#post-7073232)
 * Hello,
 * Any update on this ?
 * Would be nice to be allowed to use, at least the markup “br” 🙂
 * The apostrophes also are escaped, displaying things like that : “Brian\’s umbrella”.
 * Thanks already for this plugin.
 *  [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [9 years, 11 months ago](https://wordpress.org/support/topic/format-emails/#post-7073233)
 * Nope, no update from me.
 * We use standard wp_mail() which has filters you could possibly do your own thing
   with, if you want to try.
 *  [onico0](https://wordpress.org/support/users/onico0/)
 * (@onico0)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/format-emails/#post-7073234)
 * Okay thanks, here the solution.
 * /includes/admin.php : 90
 *     ```
       // Use wptexturize instead of sanitize_text_field which remove all tags, line break
       	$activate_message = wptexturize( $args['activate_message'] );
       	update_option( 'bprwg_activate_message', $activate_message );
   
       	$approved_message = wptexturize( $args['approved_message'] );
       	update_option( 'bprwg_approved_message', $approved_message );
   
       	$denied_message = wptexturize( $args['denied_message'] );
       	update_option( 'bprwg_denied_message', $denied_message );
       ```
   
 * Use “br” or any html tag to template your mails.
 *  /includes/admin.php : 212
 *     ```
       // I also stripslashes here, not sure if needed : 
   
       				wp_mail( $mailme_filtered['user_email'], $mailme_filtered['user_subject'], stripslashes($mailme_filtered['user_message']) );
       ```
   

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Format Emails’ is closed to new replies.

 * ![](https://ps.w.org/bp-registration-options/assets/icon-256x256.png?rev=2882040)
 * [Registration Options for BuddyPress](https://wordpress.org/plugins/bp-registration-options/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bp-registration-options/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bp-registration-options/)
 * [Active Topics](https://wordpress.org/support/plugin/bp-registration-options/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bp-registration-options/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bp-registration-options/reviews/)

 * 13 replies
 * 5 participants
 * Last reply from: [onico0](https://wordpress.org/support/users/onico0/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/format-emails/#post-7073234)
 * Status: resolved