<html>
<head>
</head>
<body>
<%
Set jmail = Server.CreateObject("JMAIL.Message")
jmail.silent = true
jmail.Charset = "GB2312"
jmail.ContentType = "text/html"
jmail.AddRecipient "cqws_yygxxxx@163.com"
jmail.From = "cq_yygxxxx@163.com"
jmail.MailServerUserName = "cq_yygxxxx"
jmail.MailServerPassword = "*********"
jmail.Subject = "标题"
Jmail.AddAttachment(Server.MapPath("附件的相对路径"))
jmail.Body = "内容"
jmail.Priority = 1
jmail.Send("smtp.163.com")
jmail.Close()
set jmail = nothing
%>
</body>
</html>