The DNN situation I'm customizing is one that is child portal intensive. I've extended the code for creating portals such that they can be easily rolled out.
The issue now is, more than an admin is created when the child portal is made. A minimum of 3 users are created: Admin, Chair Person and one Registered User. They all need an email sent.
Though I suspected this would cough up blood I did it anyhow: Tried abstracting out the email creation code from the portal creation code I extended. then when each user was created I sent an email. Since I needed to abstract this code for this purpose anyhow it seemed logical to try the shotgun approach.
When it bombed I wasn't shocked. OK, so I need to find a way to queue these emails. My guess is leverage a newsletter send for any new users ... just kicking around ideas and thinking outside the box.
Without exposing too much of the client idea I'm helping to realize -- a regular user will create portals for clients. When these are created, the rep themselves become a registered user, their boss the child portal admin and they can set up some other users for the site. This is all automated.
So for each child portal, some means of sending multiple emails straight off is what is desired. This sort of sounds like I need an automated logon followed by a newsletter send but maybe that's over-thinking it.
Any ideas out there?
Thanks!