标题:大家帮我看下,我写的send mail代码有没有问题,在运行时,页面是不行的。
取消只看楼主
Kettyjin1983
Rank: 1
等 级:新手上路
帖 子:303
专家分:0
注 册:2007-8-17
结帖率:66.67%
 问题点数:0 回复次数:0 
大家帮我看下,我写的send mail代码有没有问题,在运行时,页面是不行的。
<%
function SendMyMail(mailbody)
    From = owner&"@
    Reciever= tobe&"@
    MailBody=MailBody & "@message='helleo," & Chr(13) & Chr(13)
    MailBody=MailBody & "Please be informed that there is some barcode transfered to you,please visit htt://hzmot/m-track/transfer.asp to take some action"
    MailBody=MailBody & Date() & Chr(13) & "'"
 dim objSendMail
 set objSendMail = CreateObject("JMail.SMTPMail")
 objSendMail.silent = true
 objSendMail.logging = true
 objSendMail.ServerAddress= "hzexch01.
 objSendMail.Sender= From
 objSendMail.C
 objSendMail.Subject="M-Track system information"
 objSendMail.AddRecipient Reciever
 objSendMail.Charset = "gb2312"
 objSendMail.Body = MailBody
 objSendMail.Priority=1
 
 objSendMail.execute
 set objSendMail = nothing
   
end function
%>
搜索更多相关主题的帖子: send mail 页面 代码 运行 
2007-12-05 15:10



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-190559-1-1.html




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

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