<!--#include file="conn.asp"-->
<%if session(hxCacheName&"_admin")<>"OK" then
    response.redirect("admin_login.asp")
    end if%>
<link rel="stylesheet" type="text/css" href="../css.CSS">
<BODY background="../images/back.gif">
<%
dim rs,sql,id,email,s1,mailbiaoti,closedb
email=trim(request("maildizhi"))
mailbiaoti=trim(request("mailbiaoti"))
s1=trim(request("s1"))
if email="" or mailbiaoti="" or s1="" then
response.write "<li>没有填写完整！"
response.end
end if
call mail()
response.write "<li>发送邮件成功！"
cl
'closedb
%>
<%
sub mail()
dim mailbody,Jmail
mailbody=""&s1&""
Set Jmail=server.createobject("Jmail.Message")
Jmail.Charset ="gb2312"
Jmail.Silent =true
Jmail.Priority = 3
Jmail.MailServerUserName = servemail
Jmail.MailServerPassword = servekey
Jmail.From = webemail
Jmail.FromName =""&WebName&""
Jmail.Subject =""&mailbiaoti&""
Jmail.AddRecipient ""&email&""
Jmail.Body = mailbody
Jmail.Send(servesmtp)
Set Jmail=nothing
end sub
%>
<%sub cl()%>
<body onLoad="setTimeout(window.close, 2000)">
<%end sub%>
