Email admin upon new registration - Posted (935 Views)
Average Member
Panhandler
Posts: 783
783
Some users will register but never validate their email - usually because the automated email generated by Snitz was blocked by their ISP. The problem arises when the administrator doesn't check to see if there are any new registrations for a month or two.
Is there a mod that will send the forum administrator a "new user notification" email?
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Advanced Member
Carefree
Posts: 4224
4224
Yes, someone wrote one a few years ago.
Posted
Average Member
Panhandler
Posts: 783
783
Cool, I'll give a try. Thank you. smile
Posted
Advanced Member
Carefree
Posts: 4224
4224
You're welcome. It's actually a very simple thing to accomplish. The simplest way to do it requires a single change to "register.asp".
Code:

Look for the following lines (appx 766-770):

strMessage = strMessage & "You can change your information at our website by selecting the ""Profile"" link." & vbNewline & vbNewline
strMessage = strMessage & "Happy Posting!"
%>
<!--#INCLUDE FILE="inc_mail.asp" -->
<%

After those, insert the following:

' ## Administrator Notification Below
strRecipientsName = strSender
strRecipients = strSender
strFrom = strSender
strFromName = strSender
strsubject = strForumTitle & " Registration "
strMessage = Request.Form("Name") & " (" & Request.Form("Email") & ") has registered at " & strForumURL
%>
<!--#INCLUDE FILE="inc_mail.asp" -->
<%
' ## Administrator Notification Above
 
You Must enter a message