Plugin Support
Yurii
(@yuriinalivaiko)
Hello @rafaelzrt,
This depends on how you import users.
If you’re importing manually from a CSV file, you’ll need to set the status of the imported users after importing. This will send the necessary email notifications (unless you’ve disabled them). Follow instructions in this article: https://docs.ultimatemember.com/article/1786-how-to-approve-send-activation-email-to-imported-users
If you’re importing automatically using some API, then you should write a PHP function that is triggered after importing and sets the status. Link your function to a hook that is triggered on importing.
Code examples:
Set the “Approved” status. Send the “Account Welcome” email.
UM()->common()->users()->approve( $user_id );
Set the “Waiting email confirmation” status. Send the “Account Activation” email.
UM()->common()->users()->send_activation( $user_id );
Regards
Plugin Support
Yurii
(@yuriinalivaiko)
Hi rafaelzrt,
This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.
Please feel free to re-open this thread if any other questions come up and we’d be happy to help.
Regards