Different Emails based on User Role

For you to send personalized emails for each user role after user registration, you’ll have to use a shortcode by installing a small plugin from: https://www.cozmoslabs.com/33775-wordpress-shortcode-compare-values/

That allows you send different information based on user role.

Go to Profile Builder -> User Email Customizer and modify the template you’re interested in to something similar to:

1
2
3
4
5
6
7
8
9
10
11
12
<h3>Welcome to {{site_name}}!</h3>
<p>Your username is:{{username}}</p>
 
[compare val1="{{role}}" val2="subscriber" operator="=="]
<h3>As a subscriber, you have access to basic information only.</h3>
[/compare]
 
[compare val1="{{role}}" val2="contributor" operator="=="]
<h3>As a contributor, you have access to creating posts and other things.</h3>
[/compare]
 
Thank you for signing up with out site!

This works for both Admin and User email customizer.