您的位置:首页 > 编程语言 > PHP开发

关于dotnetnuke中smtp设置的问题

2005-04-17 18:43 761 查看
有朋友说dotnetnuke中smtp设置有问题,出现Could not access 'CDO.Message' object. 错误,这个错误不是dotnetnuke的错误,原因很多,在google中查一下,约有3,560项符合Could not access 'CDO.Message' object的查询结果
比较实用的一个
http://blog.joycode.com/ghj/archive/2004/10/22/36274.aspx
我的设置如下, 别给我发广告呀



点击test,会有一封电子邮件发送到,你自己的信箱中

我使用的是网易信箱,如果你自己设置了电子邮件服务器也可以使用,比如webeasymail,但是有的电子邮件服务器,防垃圾邮件设置比较严格,比如新浪,他不会接受私设的电子邮件服务器发来的电子邮件,关于新浪具体的不太清楚,可能她会根据ip地址反查一下域名,如果不匹配就不接受,所以如果有部分用户不能收到信件的时候,可以考虑这个原因

使用自己的smtp 服务器有一个好处,你可以查看日志,了解发生了什么事
参考:

SMTP Reply Codes:

CodeDescription
211System status, or system help reply.
214Help message.
220Domain service ready.
Ready to start TLS.
221Domain service closing transmission channel.
250OK, queuing for node node started.
Requested mail action okay, completed.
251OK, no messages waiting for node node.
User not local, will forward to forwardpath.
252OK, pending messages for node node started.
Cannot VRFY user (e.g., info is not local), but will take message for this user and attempt delivery.
253OK, messages pending messages for node node started.
354Start mail input; end with <CRLF>.<CRLF>.
355Octet-offset is the transaction offset.
421Domain service not available, closing transmission channel.
432A password transition is needed.
450Requested mail action not taken: mailbox unavailable.
ATRN request refused.
451Requested action aborted: local error in processing.
Unable to process ATRN request now
452Requested action not taken: insufficient system storage.
453You have no mail.
454TLS not available due to temporary reason.
Encryption required for requested authentication mechanism.
458Unable to queue messages for node node.
459Node node not allowed: reason.
500Command not recognized: command.
Syntax error.
501Syntax error, no parameters allowed.
502Command not implemented.
503Bad sequence of commands.
504Command parameter not implemented.
521Machine does not accept mail.
530Must issue a STARTTLS command first.
Encryption required for requested authentication mechanism.
534Authentication mechanism is too weak.
538Encryption required for requested authentication mechanism.
550Requested action not taken: mailbox unavailable.
551User not local; please try forwardpath.
552Requested mail action aborted: exceeded storage allocation.
553Requested action not taken: mailbox name not allowed.
554Transaction failed.
经过仔细测试发现,下面这种情况,并不访问smtp服务器,可能是bug



send method or send action 为另外的选项时均发信
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: