| beckginaStarting Member
 
 
 
                10 Posts | 
                    
                      |  Posted - 18 September 2003 :  16:25:45   
 |  
                      | Below is the code I have in register.asp. Now that the admin is receiving email that someone registered, the new member does not receive email confirmation. I received the code below from http://www.snitzbitz.com/mods/details.asp?Version=All&mid=112 and followed the steps. What is missing? 
 '################################### Administrator Notification Mod ########################
 
 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" -->
 <%
 '#############################End of Administrator Notification Mod ########################
 if strEmail = "1" and strRestrictReg = "0" then
 '## E-mails Message to the Author of this Reply.
 strRecipientsName = Request.Form("Name")
 strRecipients = Request.Form("Email")
 strFrom = strSender
 strFromName = strForumTitle
 strsubject = strForumTitle & " Registration "
 strMessage = "Hello " & Request.Form("name") & vbNewline & vbNewline
 strMessage = strMessage & "You received this message from " & strForumTitle & " because you have registered for a new account which allows you to post new messages and reply to existing ones on the forums at " & strForumURL & vbNewline & vbNewline
 if strAuthType="db" then
 '################################### E-mail Validation Mod #################################
 if strEmailVal = "1" then
 strMessage = strMessage & "Please click on the link below to complete your registration." & vbNewline & vbNewLine
 strMessage = strMessage & strForumURL & "register.asp?actkey=" & actkey & vbNewline & vbNewline
 else
 '######################################################################################
 strMessage = strMessage & "Password: " & Request.Form("Password") & vbNewline & vbNewline
 end if '<---- E-mail Validation Mod - 1 line #############
 end if
 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" -->
 
 |  
                      | Edited by - Roland on 18 September 2003  16:57:15
 |  |