Email admin upon new registration

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/70491?pagenum=1
05 November 2025, 01:59

Topic


Panhandler
Email admin upon new registration
26 April 2013, 09:56


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?

 

Replies ...


Carefree
26 April 2013, 10:34


Yes, someone wrote one a few years ago.
Panhandler
27 April 2013, 10:03


Cool, I'll give a try. Thank you. smile
Carefree
27 April 2013, 10:26


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
© 2000-2021 Snitz™ Communications