I would like to have my users get a copy of the email when they send an email through Snitz. I thought I had it...in inc_mail.asp, I added gMDMessageInfo.BCC = strSender so the MDaemon case looks like:
case "mdaemon"
Set gMDUser = Server.CreateObject("MDUserCom.MDUser")
mbDllLoaded = gMDUser.LoadUserDll
if mbDllLoaded = False then
response.write "Could not load MDUSER.DLL! Program will exit." & "<br />"
else
Set gMDMessageInfo = Server.CreateObject("MDUserCom.MDMessageInfo")
gMDUser.InitMessageInfo gMDMessageInfo
gMDMessageInfo.To = strRecipients
gMDMessageInfo.BCC = strSender
gMDMessageInfo.From = strSender
gMDMessageInfo.Subject = strSubject
gMDMessageInfo.MessageBody = strMessage
gMDMessageInfo.Priority = 0
gMDUser.SpoolMessage gMDMessageInfo
mbDllLoaded = gMDUser.FreeUserDll
end if
if Err <> 0 Then
Err_Msg = Err_Msg & "<li>Your request was not sent due to the following error: " & Err.Description & "</li>"
end if
It seemed like it was working, my users that were sending email through the forum were getting copies of what they were sending. Then when I added the NewsLetter Subscribe at Registration MOD by ClassicMotorcycling http://forum.snitz.com/forum/topic.asp?TOPIC_ID=57575 I started getting errors with the added line, so I had to remove it. CM did a Google search and found some issues with previous versions of MDaemon and BCC, but I'm not sure if those apply to the version I'm using. I'm using v7.2.2 (v7.2.3 is also available).
Anyone have any ideas? It doesn't have to be implemented this way, my main goal is for people to get a copy of the emails they are sending.
Thanks!
h