<%@ Language=VBScript %>
<%
"==================================================
" (sh) O(sh)
"==================================================
"]ַă(ni)l(f)͵@
myemail ="[email protected]"
"
myname ="ҵĹ˾"
"SMTP(w)
smtpserver ="mail.test.com"
"SMTP(w)Ñܴa
smtpuser ="[email protected]"
smtppwd ="123456"
"c(yng)SMTP(w)(yng)]ַ
"ܶSMTP(w)ҪCÑܴa⣬߀ҪCl(f)˵ַ
"163.netSMTP(w)ڙzl(f)]ַDz163.net
"Y(ji)βtl(f)ʹ(yng)l(f)DZҪ
smtpemail ="[email protected]"
"==================================================
" _ ʼ
"==================================================
tname =Request("t1")
temail =Request("t2")
tother =Request("t3")
tsubject =Request("t4")
tbody =Request("t5")
if tname <> "" and temail <> "" then
set jmail=server.CreateObject ("jmail.message")
jmail.Silent =true
jmail.Charset ="gb2312"
if smtpemail <> "" then
jmail.From ="[email protected]"
else
jmail.From =temail
end if
jmail.FromName =tname
jmail.ReplyTo =temail
jmail.Subject ="W(wng)ύ" & tsubject
jmail.Body =tbody & vbcrlf & vbcrlf & "(lin)ϵʽ" & tother
jmail.AddRecipient myemail,myname
jmail.MailServerUserName =smtpuser
jmail.MailServerPassWord =smtppwd
isgo=jmail.Send(smtpserver)
if isgo then
msg="ύɹxx֧֡"
else
msg="l(f)ʧ��Ոz]ַǷ_"
end if
jmail.Close
set jmail=nothing
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>c˾(lin)ϵ</title>
</head>
<style type="text/css">
<!--
body,input,textarea{font-size: 12px}
-->
</style>
<body>
<form action=jmail.asp><%=msg%>
<br>
<br><input name=T1 size=29>
<br>]
<br><input name=T2 size=29>
<br>(lin)ϵʽ
<br><input name=T3 size=29>
<br>}
<br><input name=T4 size=29>
<br>ģ
<br><textarea rows=6 cols=28 name=T5>
</textarea>
<br><input type="submit" value="_">
</form>
</body></html>