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