How to send email with 2 different user role to admin? - wordpress

I need help to send message email with Front end PM pro plugin how to add different user role when user send message.
i try send message user to admin and auto send email to admin i need add user role in email template

Related

WooCommerce custom email based on user role

I am using WooCommerce and there are two different user roles: customers and agencies. By default WooCommerce only takes the customer role into account.
I need to send different information to the user depending on if the registered user is a customer or an agency. The registration is manual, so I don't want the user to receive any email until he is approved. In case of disapproval, he would also receive an email.
Currently when an user as agency is registered, the admin receives the email. When I approve the agency, the receptor doesn't receive anything because WooCommerce only sends email to "admin" or "customer".
What can I do to resolve this issue?

How to create an user through firebase after validate the user's email?

I want to create an user after validate the email address that the user give in the registration form

I want new user should verify his email before login

I am using wp-members plugin for user registration and login. But I have to send a verification link in mail when user registers. How can I do that?
you can also use theme my login so you can easily achiv this.
Require users to be approved or confirm e-mail address upon registration
one of this plugin options

Validate the Authenticity of a User For Site Subscriptions

I have a web application that creates user accounts, but I would also like to have the ability to have users that can sign up for subscriptions without accounts. All they have is a subscription page to modify email settings and enable the newsletter subscription.
My questions is how do I verify that the user is who they say they are without a username/password, and my second is how should they access this page. I dont want just anyone typing in the url with the email and access subscription settings for that user.
For each user entry you create a unique access code that you use in the url in order to validate that this is the user you want.
The subscription form will give these options:
subscribe by filling in your email
request to change your settings by just putting your email to another field
both action will send an email to you with a special url
the first to validate that this is made by you so you will enable this user & his email
the second to send him another special url to make any changes to his settings in the case that this use is active in your database.
For this unique code you can use md5 of his email with a timestamp when he was registered.

Drupal - Change From address for email to user awaiting administrator approval?

Users awaiting administrator approval are sent an email from the site's default email address. Is it possible to change the from address for these emails only?
Thanks
UPDATE - Nevermind, instead Ive changed the site email and used the User Registration Notification module to send alerts to a different email.
Nevermind, instead Ive changed the site email and used the User Registration Notification module to send alerts to a different email.

Resources