Sending email to newly created user.

Posted by Community Admin on 04-Aug-2018 01:58

Sending email to newly created user.

All Replies

Posted by Community Admin on 28-Jul-2011 00:00
We want to make some adjustments so that when a new user is created through the site administration that user is sent an email containing their username, a temporary password, and a link to where they can log in.  What's the best approach for adding this type of functionality to the existing administration user creation process? 
Posted by Community Admin on 29-Jul-2011 00:00
Hello Seattle Web Group,

I would suggest  you to test the functionality offered by our user registration widget, as it offers nearly identical options of registering a user, and sending an email to him/her on registration, where the email contains a link that the user needs to click in order to confirm his/her account. If this does not suit exactly the use case scenario you want to implement, please let us know so we can advise you further.

All the best,
Boyan Barnev
the Telerik team
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Posted by Community Admin on 29-Jul-2011 00:00
Hi Boyan,

We are currently not allowing users to register on the front end of the site, and do not want random registrations through the site at this point.  Users are currently being created through the site administration and sent an email with their username and password.  We would like to automate the process of sending out the email. 

Making the administrators go to a hidden form on the website to add new users so they can be sent and automated email, and then having to go back to the site administration to adjust the new users permission groups and non-public profile information would not be an ideal solution in this case.
Posted by Community Admin on 01-Aug-2011 00:00
Hello,

One of the options to automate the process would be to create a custom provider that inherits from OpenAccessMembershipProvider  and override CreateUser method where you have access to the user and its email address.


All the best,
Ivan Dimitrov
the Telerik team
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Posted by Community Admin on 01-Aug-2011 00:00
Hi Ivan,

That is closer to what we're looking to do.  Taking another look at this it looks like we would need to override either OpenAccessRoleProvider, or OpenAccessProfileProvider instead so that we would have access to the user profile and role information as well as the general user information. 

What order are the profile and roles created through the administration forms when adding a new user?
Posted by Community Admin on 01-Aug-2011 00:00
Hi ,

First the user is created, then assigned to a role and finally profile data is updated.

All the best,
Ivan Dimitrov
the Telerik team
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Posted by Community Admin on 01-Aug-2011 00:00
Thank You Ivan,

That should be enough to get this going.
This thread is closed