Author |
Topic  |
|
Peter Vranckx
Starting Member
4 Posts |
Posted - 22 December 2005 : 02:32:13
|
Hello, I'am setting up a forum with the latest Snitz SW. When a new member registers you can see this only if you enter the forum as admin ( #member(s) pending). Is there any possibility to receive an e-mail(on the admin e-mail address) each time a new member want's to register? Thank you very much for a quick reply. Peter |
Edited by - Peter Vranckx on 22 December 2005 02:37:33 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
Peter Vranckx
Starting Member
4 Posts |
Posted - 22 December 2005 : 07:12:45
|
quote: Originally posted by ruirib
You could just add a little code change to have a copy of the email sent to the user to be sent to you, as well.
As I am a beginner in this issues I do not undertsand what you mean. Where do I have to add this code, what code and where can I find it? Thanks in advance for your reply. Peter |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
Peter Vranckx
Starting Member
4 Posts |
Posted - 22 December 2005 : 08:42:48
|
quote: Originally posted by ruirib
Which email component are you using?
Aspe-mail
|
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
Classicmotorcycling
Development Team Leader
    
Australia
2085 Posts |
Posted - 23 December 2005 : 15:35:41
|
Or you could add the following code in register.asp:
if strEmailNewReg = "1" then
'################################### Administrator Notification Mod ########################
strRecipientsName = strSender
strRecipients = strSender
strFrom = strSender
strFromName = strSender
strsubject = strForumTitle & " Registration "
strMessage = "The new registration of: " & Request.Form("Name") & " (" & Request.Form("Email") & ") has occured at " & strForumTitle & " (" & strForumURL & ")." & vbNewLine & vbNewLine & "Go and check out: " & strForumURL & "admin_accounts_pending.asp to get their full details." & vbNewLine & vbNewLine & "Cheers," & vbNewLine & vbNewLine & "Webmaster @ " & strForumTitle
%>
<!--#INCLUDE FILE="inc_mail.asp" -->
<%
'######################################################################################
end if You need to place the code above after:
%>
<!--#INCLUDE FILE="inc_mail.asp" -->
<% so you have the 2 include statements for inc_mail.asp. I hope that this also helps. 
|
Cheers, David Greening |
 |
|
spyderuk
Junior Member
 
United Kingdom
211 Posts |
Posted - 10 January 2006 : 15:48:22
|
Instead of posting a new topic, would this change work with Chili!Mail ? Thanks in advance. |
Snitz 3.4.05. Mods Installed, Additional Smilies, Poll's, PM's, Email All Users, Today/Yesterday, Active Users 4, Portal Mod, My Own Google, Referer Mod, Avatars, Intergrated Conqueror Chat, Usergroups, IPGate, File Attachment Mod & Image Resize Mod.
Next Mod? My Snitz Forum 
|
 |
|
lfetterhoff
Starting Member
USA
12 Posts |
Posted - 07 February 2006 : 15:59:39
|
I thought this was a great idea - so I tried the idea of modifying register.asp and inc_mail.asp, but have not been able to get this to work. I added strBcc = "email.addr" (where email.addr represents my forum admin email address) to register.asp after the strFrom = strSender line (around line # 583). I also added objNewMail.AddBcc(strBcc) to the case sasmtpmail area (around line 320). This is still not working - am I missing anything? |
 |
|
tinem
Junior Member
 
Denmark
209 Posts |
|
lfetterhoff
Starting Member
USA
12 Posts |
Posted - 08 February 2006 : 19:34:46
|
thanks for the suggestion - tried it but still did not work. I am obviously missing something... |
 |
|
Classicmotorcycling
Development Team Leader
    
Australia
2085 Posts |
Posted - 09 February 2006 : 01:24:11
|
Place a text link to your register.asp file and I will add the code I know works for me on all my sites I run...quote: Originally posted by lfetterhoff
thanks for the suggestion - tried it but still did not work. I am obviously missing something...
It is really easy to get an e-mail when a new person registers.
|
Cheers, David Greening |
 |
|
|
Topic  |
|