| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 562 人关注过本帖
标题:为什么邮件已发出,却收不到??大家来看看,这代码哪里有误.
只看楼主 加入收藏
bafnje
Rank: 1
等 级:新手上路
帖 子:193
专家分:0
注 册:2006-6-9
收藏
 问题点数:0 回复次数:1 
为什么邮件已发出,却收不到??大家来看看,这代码哪里有误.

<%
content=""
content= content & "company : "&company&"<br>"
content= content & "name : "&name1&"<br>"
content= content & "address : "&address&"<br>"
content= content & "tel : "&tel&"<br>"
content= content & "fax : "&fax&"<br>"
content= content & "mob : "&mob&"<br>"
content= content & "zip : "&zip&"<br>"
content= content & "http : "&http&"<br>"
content= content & "mail : "&mail&"<br>"
content= content & "Feedback : "&expect&"<br>"

myemail ="skc_bafnczm@163.com"
myname ="skc_bafnczm@163.com"
smtpserver ="smtp.163.com"

set jmail=server.CreateObject ("jmail.message")
jmail.Silent=true
jmail.Charset="gb2312"
jmail.ISOEncodeHeaders = false
jmail.Encoding = "base64"
jmail.ContentType ="text/html"


jmail.From ="skc@163.com"
jmail.FromName ="skc@163.com"
jmail.ReplyTo ="skc@163.com"
jmail.Subject ="有人才应聘"
jmail.AddRecipient myemail,myname
jmail.Body =content
jmail.MailServerUserName ="skc"
jmail.MailServerPassWord ="111111111"
isgo=jmail.Send(smtpserver)

jmail.Close
set jmail=nothing

搜索更多相关主题的帖子: 邮件 有误 代码 
2006-07-03 11:30
islet
Rank: 12Rank: 12Rank: 12
等 级:贵宾
威 望:89
帖 子:6548
专家分:0
注 册:2005-1-28
收藏
得分:0 
Dim JMail
Set JMail = Server.CreateObject("JMail.Message")
JMail.silent = false
JMail.Charset = "gb2312"
JMail.ISOEncodeHeaders = False
JMail.MailServerUserName = "用户名"
JMail.MailServerPassword = "密码"
JMail.From = "用户名@163.com"
JMail.FromName ="发信人"
JMail.Subject = "标题"
JMail.Priority = 1
JMail.AddRecipient("收信邮箱")
JMail.Body = "内容"
JMail.Send("smtp.163.com")
JMail.Close()
Set JMail = Nothing
2006-07-03 11:57
快速回复:为什么邮件已发出,却收不到??大家来看看,这代码哪里有误.
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.035211 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved