應該是在將程式繁化時.動到了Dv_ClsMain.asp檔案使他出錯
你是去下載的或是自己繁化的?
因為一般來說即使沒辦法寄也不會出現這種錯誤
你要改用jmail寄信.需要改一些東西
先打開inc/email.asp
找到
sub Jmail(email,topic,mailbody)
....
end sub
改成
sub Jmail(email,topic,mailbody)
on error resume next
dim msg
Set msg = Server.CreateObject("JMail.Message")
msg.silent = true
msg.Logging = true
msg.Charset = "BIG5"
msg.ContentType = "text/html"
msg.MailServerUserName = Forum_info(5) '輸入smtp伺服器登入名
msg.MailServerPassword = "登入密碼" '輸入smtp伺服器登入密碼 msg.From = Forum_info(5) '發信人Email (在後台設定)
msg.FromName = "NAME"
msg.AddRecipient email
msg.Subject = topic
msg.Body = mailbody
msg.Send (Forum_info(4)) 'smtp伺服器 (在後台設定)
set msg = nothing
Set msg=nothing
if err then
SendMail=err.description
err.clear
else
SendMail="OK"
end if
end sub
試試看吧
|