aisila 发表于 2009-2-20 10:10:31

outlook 是可以接发邮件的,现在就是 用我的asp程序不行,其他的都可以

MDaemonMVP 发表于 2009-2-20 12:38:29

方便的话,把程序发送邮件部分贴出来看看

aisila 发表于 2009-2-20 13:11:19

Set msg = Server.CreateObject("JMail.Message")
                msg.silent = false
                msg.Logging = true
                msg.Charset = "utf-8"
                msg.ContentTransferEncoding="base64"

                msg.MailServerUserName =sendmail '发件人邮箱
                msg.MailServerPassword = smtppass '发件人密码

                msg.From = sendmail    '发件人
                msg.FromName =mailname'

                msg.AddRecipient   tomail'收件人邮箱
                msg.Subject = Subject   '主题
                msg.Body=ms_bdy
                sendok=msg.Send (mailserver)   'smtp服务器地址
                set msg = nothing

MDaemonMVP 发表于 2009-2-20 14:02:31

设置
msg.silent = ture

然后打印
msg.ErrorMessage
看看出错信息是什么,或者你现在能看到的出错信息是什么

[ 本帖最后由 MDaemonMVP 于 2009-2-20 14:04 编辑 ]

aisila 发表于 2009-2-21 20:39:42

jmail.Message 错误 '8000ffff'

The message was undeliverable. All servers failed to receive the message

/webadmin/inc/config.asp,行 481

aisila 发表于 2009-2-22 10:52:34

结贴:这个问题虽然没有解决,但是给winwebmail 发了封邮件,他们回信让用他们的组建,测试果然可以,现在已经改用函数,用他们的方法了
页: 1 [2]
查看完整版本: 哪位兄弟帮帮忙,我的邮局系统不能用我的程序发邮件