Title: Customizing email message body
Last modified: August 21, 2016

---

# Customizing email message body

 *  Resolved [bricor](https://wordpress.org/support/users/bricor/)
 * (@bricor)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/customizing-email-message-body/)
 * How can I customize the body of the initial registration and account approval
   emails?
 * The generic emails do not suit our requirements.
 * [http://wordpress.org/plugins/new-user-approve/](http://wordpress.org/plugins/new-user-approve/)

Viewing 15 replies - 1 through 15 (of 25 total)

1 [2](https://wordpress.org/support/topic/customizing-email-message-body/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/customizing-email-message-body/page/2/?output_format=md)

 *  Thread Starter [bricor](https://wordpress.org/support/users/bricor/)
 * (@bricor)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/customizing-email-message-body/#post-4149269)
 * Correction, it seems that only approved user emails are generated from this plugin.
 * How do I customize the email message sent to the approved user?
 *  Thread Starter [bricor](https://wordpress.org/support/users/bricor/)
 * (@bricor)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/customizing-email-message-body/#post-4149270)
 * I guess the best way to ask would be, where can I find documentation on how to
   use and where to apply the filters?
 *  [Josh Harrison](https://wordpress.org/support/users/picklewagon/)
 * (@picklewagon)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/customizing-email-message-body/#post-4149348)
 * I am working on getting some documentation put together.
 * In the meantime, to customize the message sent to the approved user, you can 
   find some sample code at [https://gist.github.com/picklewagon/7093339](https://gist.github.com/picklewagon/7093339)
   Let me know if you have any questions.
 * I am working on a separate plugin to modify the message from the admin. Stay 
   tuned!
 *  [Daniel Nordh](https://wordpress.org/support/users/nordhdgmailcom/)
 * (@nordhdgmailcom)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/customizing-email-message-body/#post-4149356)
 * Hi Josh,
    I love your plug-in.
 * How do I add password and user name also to this code?
 * Kind regards,
    Daniel
 *  [amineoujda](https://wordpress.org/support/users/amineoujda/)
 * (@amineoujda)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/customizing-email-message-body/#post-4149365)
 * Hello,
 * I can not retrieve information from the variable $user ??
 *  [amineoujda](https://wordpress.org/support/users/amineoujda/)
 * (@amineoujda)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/customizing-email-message-body/#post-4149366)
 * Hello,
 * I noticed that there is a problem with the encoding format email sen
 *  [Penelope01](https://wordpress.org/support/users/penelope01/)
 * (@penelope01)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/customizing-email-message-body/#post-4149367)
 * Hi Josh
    Thankyou for the great plugin, it was just what I was looking for.
 * Only one thing I need to do on the approved users e-mail and that is to remove(
   or change) the link to the wordpress login page under the users login and password.
   I want them to login via the home page on the website.
    so instead of “[http://mysite.com/wp-login.php&#8221](http://mysite.com/wp-login.php&#8221);
   have either no link at all or “[http://www.mysite.com/&#8221](http://www.mysite.com/&#8221);
 * I looked in the plugin code but couldnt see how to do it.
    Please can you help
 * Any suggestions will be gratefully recieved
    Many thanks Penelope
 *  [blg002](https://wordpress.org/support/users/blg002/)
 * (@blg002)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/customizing-email-message-body/#post-4149368)
 * Any plans on making it possible to [customize the approval message sent to admins](http://wordpress.org/support/topic/customize-approval-message?replies=4#post-3443046)?
 *  [Josh Harrison](https://wordpress.org/support/users/picklewagon/)
 * (@picklewagon)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/customizing-email-message-body/#post-4149369)
 * @big002 I am working on an add on plugin to make it super easy for you to customize
   all messages. Stay tuned…
 *  [blg002](https://wordpress.org/support/users/blg002/)
 * (@blg002)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/customizing-email-message-body/#post-4149370)
 * [@josh](https://wordpress.org/support/users/josh/) Harrison Awesome! A feature
   request for said plugin: The ability to populate profile fields in that email.
   For example we have a custom ‘Bio’ field (it’s also a BuddyPress profile field
   for extra points) that is required and I’d love to have that info in the email.
 *  [Josh Harrison](https://wordpress.org/support/users/picklewagon/)
 * (@picklewagon)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/customizing-email-message-body/#post-4149371)
 * @big002 Thanks for the suggestion. I have added that to my roadmap.
 *  [icey7](https://wordpress.org/support/users/icey7/)
 * (@icey7)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/customizing-email-message-body/#post-4149374)
 * Hello Josh
 * I’m following your above example to customize the email body
 * What change would need to be made, to enable HTML inside the message body ?
 * Thankyou
    Kind Regards
 *  [icey7](https://wordpress.org/support/users/icey7/)
 * (@icey7)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/customizing-email-message-body/#post-4149376)
 * Hi
 * I found a solution to add HTML into the message body…
 * Simply add the following after the <?php in php snippet:
 * add_filter(‘wp_mail_content_type’,create_function(”, ‘return “text/html”; ‘));
 * Thankyou
    Kind Regards
 *  [Josh Harrison](https://wordpress.org/support/users/picklewagon/)
 * (@picklewagon)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/customizing-email-message-body/#post-4149377)
 * That will definitely work. Just be careful when doing that. It will change the
   content type of all of your emails.
 *  [icey7](https://wordpress.org/support/users/icey7/)
 * (@icey7)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/customizing-email-message-body/#post-4149378)
 * Hi
 * Thanks for the tip, you don’t happen to know how I could enable the HTML in just
   emails sent from your plugin ?
 * Thanks agin

Viewing 15 replies - 1 through 15 (of 25 total)

1 [2](https://wordpress.org/support/topic/customizing-email-message-body/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/customizing-email-message-body/page/2/?output_format=md)

The topic ‘Customizing email message body’ is closed to new replies.

 * ![](https://ps.w.org/new-user-approve/assets/icon-128x128.gif?rev=2544141)
 * [New User Approve](https://wordpress.org/plugins/new-user-approve/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/new-user-approve/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/new-user-approve/)
 * [Active Topics](https://wordpress.org/support/plugin/new-user-approve/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/new-user-approve/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/new-user-approve/reviews/)

 * 25 replies
 * 12 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/customizing-email-message-body/page/2/#post-4149392)
 * Status: resolved