Y
yanliangjr
Unregistered / Unconfirmed
GUEST, unregistred user!
<%
dim rs,conn,item,conn1,rs1,send_email,shou,subject,body,att_file,fname,usemail,Mailobject
send_email=trim(request("shou"))
SHOU=trim(request("SHOU")) '取得在程序四选择和输入的内容
subject=trim(request("subject"))
body=trim(request("body"))
att_file=trim(request("attfile"))
fname=trim(request("fname"))
usemail=trim(request("usemail"))
set MailObject=server.createObject("CDONTS.NewMail")
if att_file="" then
'附件为空
'mailobject.send usemail,send_email,subject,body
MailObject.from=usemail
MailObject.to=send_email
Mailobject.subject=subject
Mailobject.body=body
mailObject.send
response.write("无附件WEB邮件发送成功!")
end if%>
当运行后出错,出错信息为:
错误 '80070003'
系统找不到指定的路径。
dim rs,conn,item,conn1,rs1,send_email,shou,subject,body,att_file,fname,usemail,Mailobject
send_email=trim(request("shou"))
SHOU=trim(request("SHOU")) '取得在程序四选择和输入的内容
subject=trim(request("subject"))
body=trim(request("body"))
att_file=trim(request("attfile"))
fname=trim(request("fname"))
usemail=trim(request("usemail"))
set MailObject=server.createObject("CDONTS.NewMail")
if att_file="" then
'附件为空
'mailobject.send usemail,send_email,subject,body
MailObject.from=usemail
MailObject.to=send_email
Mailobject.subject=subject
Mailobject.body=body
mailObject.send
response.write("无附件WEB邮件发送成功!")
end if%>
当运行后出错,出错信息为:
错误 '80070003'
系统找不到指定的路径。