Aaron S.
Average Member
USA
985 Posts |
Posted - 20 July 2002 : 10:02:57
|
This is a very easy MOD to install.
Basically, when you send email from the forum to another member, you will have the option of receiving a copy of the email.
This is a useful way to keep track of what you have sent.
You can download the CopyOf MOD here.
OR you can make the following changes to pop_mail.asp.
1. In pop_mail.asp
Around line 90 find:
<!--#INCLUDE FILE="inc_mail.asp" -->
Change it to:
<!--#INCLUDE FILE="inc_mail.asp" --> <% '############ COPYOF MOD ############## if request.form("CopyOf") =1 then strRecipientsName = Request.Form("YName") strRecipients = rs("YEmail") strFrom = Request.Form("YEmail") strFromName = Request.Form("YName") strSubject = "Sent From " & strForumTitle & " by " & Request.Form("YName") strMessage = "Hello " & Request.Form("Name") & vbNewline & vbNewline strMessage = strMessage & "You received the following message from : " & Request.Form("YName") & " (" & Request.Form("YEmail") & ") " & vbNewline & vbNewline strMessage = strMessage & "At: " & strForumURL & vbNewline & vbNewline strMessage = strMessage & Request.Form("Msg") & vbNewline & vbNewline
if strFrom <> "" then strSender = strFrom end if %> <!--#INCLUDE FILE="inc_mail.asp" --> <% end if '###################################### %>
2. In pop_mail.asp
Around line 200 find:
<tr> <td bgColor=<% =strPopUpTableColor %> colspan=2><textarea name="Msg" cols=40 rows=5></textarea></td> </tr> <tr> <td bgColor=<% =strPopUpTableColor %> colspan=2 align=center><Input type=Submit value="Send" id=Submit1 name=Submit1></TD> </tr>
Change it to:
<tr> <td bgColor=<% =strPopUpTableColor %> colspan=2><textarea name="Msg" cols=40 rows=5></textarea></td> </tr> <% '############ COPYOF MOD ############## %> <tr> <td align=center bgColor=<% =strPopUpTableColor %> colspan=2><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><input type="checkbox" name="CopyOf" value="1" checked> Uncheck if you do <i>not</i> want to be sent an email copy.</font></td> </tr> <% '###################################### %> <tr> <td bgColor=<% =strPopUpTableColor %> colspan=2 align=center><Input type=Submit value="Send" id=Submit1 name=Submit1></TD> </tr>
That's it... enjoy!
--Aaron
DOWNLOAD GREAT NEW MODS HERE |
|