Developer forum

Forum » Integration » Avoid welcome mails to inactive users

Avoid welcome mails to inactive users

Anders Ebdrup
Anders Ebdrup
Reply

Dear Dynamicweb,

 

We have a situation where we need to import both active and inactive users with the userprovider and the active users should receive the welcome mail, but not the inactive.

Will it be possible to have an extra check implemented where only active users will receive the mail?

 

Best regards,

Anders


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Anders

Please find attached an update of the userprovider with a test on if the incoming user is active.

It is a pirate dll, so you can test it and if you are happy with it, I will commit it.

BR Nicolai

Votes for this answer: 1
 
Anders Ebdrup
Anders Ebdrup
Reply

Dear Nicolai,

 

Thank you so much for fast response! It is working like a charm! Excellent :-)

 

Best regards,

Anders

 

You must be logged in to post in the forum