关于dotnetnuke中smtp设置的问题

有朋友说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
我的设置如下,   别给我发广告呀
关于dotnetnuke中smtp设置的问题
点击test,会有一封电子邮件发送到,你自己的信箱中

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

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

SMTP Reply Codes:

Code Description
211 System status, or system help reply.
214 Help message.
220 Domain service ready.
Ready to start TLS.
221 Domain service closing transmission channel.
250 OK, queuing for node node started.
Requested mail action okay, completed.
251 OK, no messages waiting for node node.
User not local, will forward to forwardpath.
252 OK, 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.
253 OK, messages pending messages for node node started.
354 Start mail input; end with <CRLF>.<CRLF>.
355 Octet-offset is the transaction offset.
421 Domain service not available, closing transmission channel.
432 A password transition is needed.
450 Requested mail action not taken: mailbox unavailable.
ATRN request refused.
451 Requested action aborted: local error in processing.
Unable to process ATRN request now
452 Requested action not taken: insufficient system storage.
453 You have no mail.
454 TLS not available due to temporary reason.
Encryption required for requested authentication mechanism.
458 Unable to queue messages for node node.
459 Node node not allowed: reason.
500 Command not recognized: command.
Syntax error.
501 Syntax error, no parameters allowed.
502 Command not implemented.
503 Bad sequence of commands.
504 Command parameter not implemented.
521 Machine does not accept mail.
530 Must issue a STARTTLS command first.
Encryption required for requested authentication mechanism.
534 Authentication mechanism is too weak.
538 Encryption required for requested authentication mechanism.
550 Requested action not taken: mailbox unavailable.
551 User not local; please try forwardpath.
552 Requested mail action aborted: exceeded storage allocation.
553 Requested action not taken: mailbox name not allowed.
554 Transaction failed.

经过仔细测试发现,下面这种情况,并不访问smtp服务器,可能是bug
关于dotnetnuke中smtp设置的问题
send method or send action 为另外的选项时均发信

你可能感兴趣的:(dotnetnuke)