百度首页 | 百度空间
 
查看文章
 
ASP发送电子邮件
2008年05月07日 星期三 15:57

<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>


类别:记忆 | 添加到搜藏 | 浏览() | 评论 (0)
 
网友评论:
发表评论:
姓 名:
网址或邮箱: (选填)
内 容:
验证码:
 

     

©2008 Baidu