@luispf39
Is there any way to send the registration email based on a metafield?
No.
You can try this plugin to send CC: copies of the Registration Admin email to additional Admin users.
https://github.com/MissVeronica/um-additional-email-recipients
Yes, we are using this plugin, but we still need to send emails only to some users depending on one metafield content.
Thank you!
@luispf39
You can try this updated plugin for “Additional email Recipients”
https://github.com/MissVeronica/um-additional-email-recipients
New settings are per UM Notification email:
Meta Key for Field additional cc: email
Form Field value : Email address
Your example
One:[email protected]
Two:[email protected]
-
This reply was modified 3 years, 1 month ago by
missveronica.
Hi!
Thank you so much for this custom development! 🙂
I made some tests using “metavalue” format (https://imgur.com/THcet8J) and “user_metavalue” (https://imgur.com/7MgMmRe) into the field, but it doesn’t work.
Am I filling in the fields correctly? Please, find attached 2 screenshots.
In my example, I have a metafield called “dropdown1”, and:
– If user select option “first” destination email should be [email protected].
– If user select option “second” destination email should be [email protected].
In both cases I receive the email in the “Admin email address”.
Thank you!
-
This reply was modified 3 years, 1 month ago by
luispf39.
@luispf39
What are your values in the dropdown which your users can see at the Registration Form?
-
This reply was modified 3 years, 1 month ago by
missveronica.
As I’m doing some tests, value are “first” and “second”: https://imgur.com/9XgxDoI
@luispf39
Make sure that you have added your values to the right UM Notification email.
Look in your email client’s address section if you have the cc address added.
@luispf39
Adding these plugin fields to an UM Notification email addressed to the Adminstrator account will fail.
I have only one active email notification: Account Needs Review Notification, adressed to the admin.
So, how could I change it? I mean, instead of sending the Review notificacion to the admin, send it to one of both emails depending on the metafield value.
Thank you
@luispf39
I will add some more code to the plugin to solve this issue.
Ok, thank you for your kind help! 🙂
Now it is working fine!!!
Thank you for your excellent support! 🙂