Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Bug Reports (Closed)
 BUG+FIX (3.1 final): Mailconfig
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Dynamix
Junior Member

Germany
205 Posts

Posted - 13 January 2001 :  12:25:26  Show Profile
I´m using ASPEmail, but i want to diasable the email-feature for a few days. I turned it off in the config-menu but i´m still getting notifications. If i´m clearing the field with the server-name i´m getting some errors like "host not found" even i have disabled the email feature.

quote:

I think this ought to be posted in the BUGS forum also, because as far as I can see, there is no check to see if mail still is enabled before the email get send.
for you quick fix, finding and commenting out the lines that call DoReplyEmail and DoEmail in post_info.asp should stop the mails from being sent for now.


This works fine for me. But it´s still a bug.

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 13 January 2001 :  23:52:19  Show Profile
Instead of commenting those lines out, you could just add an if then statment to both subs that checks if strEmail = 1 or not. If it does then do the sub, if not, don't do it.
Go to Top of Page

gor
Retired Admin

Netherlands
5511 Posts

Posted - 14 January 2001 :  05:02:28  Show Profile  Visit gor's Homepage
quote:

Instead of commenting those lines out, you could just add an if then statment to both subs that checks if strEmail = 1 or not. If it does then do the sub, if not, don't do it.



I asked Dynamix to also post this here because then Mike would find it when he does his next bugsweep.

Pierre
Go to Top of Page

gor
Retired Admin

Netherlands
5511 Posts

Posted - 18 January 2001 :  02:39:40  Show Profile  Visit gor's Homepage
FIX

in post_info.asp change the code starting at line 607 to

if strEmail = "1" then
'## Forum_SQL
strSql = "SELECT " & strMemberTablePrefix & "MEMBERS.M_NAME, " & strMemberTablePrefix & "MEMBERS.M_EMAIL "
strSql = strSql & " FROM " & strMemberTablePrefix & "MEMBERS, " & strTablePrefix & "TOPICS "
strSql = strSql & " WHERE " & strMemberTablePrefix & "MEMBERS.MEMBER_ID = " & strTablePrefix & "TOPICS.T_AUTHOR "
strSql = strSql & " AND " & strTablePrefix & "TOPICS.TOPIC_ID = " & Request.Form("TOPIC_ID")
set rs2 = my_Conn.Execute (strSql)

DoEmail rs2("M_EMAIL"), rs2("M_NAME")
rs2.close
set rs2 = nothing
end if
Go_Result "Updated OK", 1


and change the code at line 543 to

strEmail = "1" then
DoReplyEmail Request.Form("TOPIC_ID"), rs("MEMBER_ID"), Request.Form("UserName")
end if


Now the forum only sends mails, when the mail is enabled.

Pierre
Go to Top of Page

Reinsnitz
Snitz Forums Admin

USA
3545 Posts

Posted - 11 February 2001 :  21:56:09  Show Profile  Visit Reinsnitz's Homepage  Send Reinsnitz an AOL message  Send Reinsnitz an ICQ Message  Send Reinsnitz a Yahoo! Message
fixed in source of sf2k_31sr5a4.zip

Reinsnitz (Mike)
><)))'>
"Blessed are those who hear the word of God and obey it." - Luke 11:28
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.13 seconds. Powered By: Snitz Forums 2000 Version 3.4.07