Activation Email with OnUserActivate (Custom Activation Plugin)

Hi there guys,

I’m trying to write a plugin that sends an email to the user when they are activated by an admin. I want the email they get to be determined by their user group and to do a few other things in the database once they’re activated.

Is there a way to do this with the OnUserActivate System Event and get the activated user’s information?

Thanks.

You might look at the ActivationEmail extra. :wink:

I’m trying to grasp exactly what you did, but I think I can grab what user group the user belongs to and adjust the message that goes into $msg from there, but I’m lost on how to add run with a property set. Basic things that give me a run…

You can add a property set on the System Events tab when editing the plugin.