Registration approval - send notification emails according to profile properties

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
4/5/2014 3:52:53 AM
Gravatar
Total Posts 128

Registration approval - send notification emails according to profile properties

In a site where new user registrations will need approval, we want the notifications to go to particular people depending on the details entered by the new user.  For example, if the user says they are in the north-west region, we want the notification to go to one email, and north-east to another. In fact the email address(es) will be determined by looking up users in a particular role associated with the same region as the new applicant, and if there aren't any we will fall back on an default account.

I see we can plumb in our own code on the registration event https://www.mojoportal.com/user-registered-event-handlers.aspx Could this be used to send the notification email as described?  Presumably the core mojoPortal code still runs, wanting to send the notification to the email(s) specified in site settings, but perhaps we could leave that blank, or use an unattended email account.

Does this sound plausible? Any advice gratefully received.

 

4/7/2014 7:45:20 AM
Gravatar
Total Posts 18439

Re: Registration approval - send notification emails according to profile properties

Hi Crispin,

Yes you could send your own emails from a custom registration handler and let the standard one go to an unattended account.

Hope that helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.