`
kobe学java
  • 浏览: 249838 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
社区版块
存档分类
最新评论

smtp 返回代码 信息

    博客分类:
  • java
 
阅读更多

211214220221250251252253354355421432450451452453454458459500501502503504505521530534538550551552553554571572

SMTP Server Response Codes

SMTP servers use to respond to commands using a defined set of codes. This page is a small guide to the codes mail servers may produce when you try to send mail along with their meanings. They are part of the SMTP protocol (the set of rules used to send emails).

The Meaning of the Codes
A mail server will reply to every request a client (such as MaxBulk Mailer) makes with a return code. This code consists of three numbers.

 The first generally tells whether the server accepted the command and if it could handle it. The five possible values are:

1: The server has accepted the command, but does not yet take action. A confirmation message is required.

2: The server has completed the task successfully.

3: The server has understood the request, but requires further information to complete it.

4: The server has encountered a temporary failure. If the command is repeated without any change, it might be completed.

5: The server has encountered an error.

 The second number gives more information. Its six possible values are:

0: A syntax error has occured.

1: Indicates a informational reply, for example to a HELP request.

2: Refers to the connection status.

3 and 4 are unspecified.

5: Refers to the status of the mail system as a whole and the mail server in particular.

 The last number is even more specific and shows more graduations of the mail transfer status.

This leads us to the detailed list of ESMTP server response codes, as layed down in RFC 821 and later extensions.

CodeDescription

System status, or system help reply.
Help message (for a human reader follows).
SMTP Service ready (or Ready to start TLS).
SMTP Service closing transmission channel.
OK, queuing for node node started. Requested mail action okay, completed (Requested action taken and completed).
OK, no messages waiting for node node. User not local, will forward to forwardpath(The recipient is not local to the server, but the server will accept and forward the message).
Cannot VRFY user (e.g., info is not local), but will take message for this user and attempt delivery (The recipient cannot be verified, but the server accepts the message and to attempt delivery).
OK, messages pending messages for node node started.
Start mail input; end with <CRLF>.<CRLF>. This indicates that the server is ready to accept the message itself (after you have told the server who the message is from and who you want it to be sent to).
Octet-offset is the transaction offset.
Domain service not available, closing transmission channel (The service is not available and the connection will be closed).
A password transition is needed.
Requested mail action not taken: mailbox unavailable.
ATRN request refused (The requested command failed because the user's mailbox was unavailable, for example because it was locked).
Requested action aborted: local error in processing. Unable to process ATRN request now (The command has been aborted due to a server error. Not your fault. Maybe let the admin know).
Requested action not taken: insufficient system storage (The command has been aborted because the server has insufficient system storage, it happens sometimes when sending to a lot of recipients in Bcc mode).
You have no mail.
TLS not available due to temporary reason.
Encryption required for requested authentication mechanism.
Unable to queue messages for node node.
Node node not allowed: reason.
Command not recognized: command. Syntax error (The server could not recognize the command due to a syntax error).
Syntax error, no parameters allowed (A syntax error was encountered in command arguments).
Command not implemented (This command is not implemented).
Bad sequence of commands (The server has encountered a bad sequence of commands).
Command parameter not implemented (A command parameter is not implemented).
Authentication required
Machine does not accept mail.
Must issue a STARTTLS command first.
Encryption required for requested authentication mechanism.
Authentication mechanism is too weak.
Encryption required for requested authentication mechanism.
Requested action not taken: mailbox unavailable (The requested command failed because the user's mailbox was unavailable, for example because it was not found, or because the command was rejected for policy reasons).
User not local; please try forwardpath (The recipient is not local to the server. The server then gives a forward address to try).
Requested mail action aborted: exceeded storage allocation (The action was aborted due to exceeded storage allocation).
Requested action not taken: mailbox name not allowed (The command was aborted because the mailbox name is invalid).
Transaction failed.
No external routing allowed, remote sending only allowed with authentication (Illegal relay, missing authentication, RBL/blacklisting)
Bounces are blocked due to system abuse by spammers

Blue rows correspond to successfull responses.
Rose rows correspond to delivery errors
Red rows corresppond to server errors.

分享到:
评论

相关推荐

    发送邮件发送,先提一下SMTP

    与(一)的主要区别在于:1.SMTP的不同,2.objMailMessage.From中本方法可以随便填写,但是(一)中别随便填写那么利用ASP.NET(C#)发送邮件的核心代码如下: /核心代码开始 using System.Web.Mail; MailMessage ...

    SMTP邮件协议

    SMTP协议原始命令码和工作原理 1.SMTP是工作在两种情况下:一是电子邮件从客户机传输到服务器;二是从某一个服务器传输到另一个服务器; 2.SMTP是个请求/响应协议,命令和...响应包括一个表示返回状态的三位数字代码

    基于Java实现(控制台) SMTP 协议发邮件的功能【100012103】

    用 SMTP 协议实现发邮件的功能,:这只是为了理解SMTP的一篇很基础性的讲解,对于代码部分,为了体现主体,明显缺少通过服务器返回代码判断语句,因而以上程序缺少健壮性,自己在理解好实际编程时应该考虑到真正的...

    C#验证Email是否真正存在,可验证用户输入的邮件地址是否真的存在(源码)

     回状态的三位数字代码 3.SMTP在TCP协议25号端口监听连接请求 4.连接和发送过程 SMTP协议说复杂也不复杂(明明带有“简单”这个词嘛),说简单如果你懂得Sock。不过现在只是我们利用的就是第一条中说的,从客户机...

    基于Python进行TCP套接字编程的基础知识 实验报告

    进一步理解和掌握基于Python进行TCP套接字编程的知识,理解SMTP报文格式,能基于Python编写一个简单的SMTP客户端程序。 2实验条件 装有python环境的电脑两台 局域网环境 已经正常运行的邮件服务器 3实验报告内容及...

    intelligent-smtp-responder:这是一个基于电子邮件的智能代理服务器

    智能 smtp 应答器 ... 此代码松散地基于[Mailinator] ( ),因为它不支持所有 SMTP 命令,而是使用 ip 陷阱和超时来阻止垃圾邮件发送者和其他脚本或机器人,继续。 它还构成了 [TeamWork.io] ( ) 和 Web 服务使

    发送邮件代码

    发送邮件 发邮件前,需要理解SMTP(Simple Mail Transfer Protocol)。SMTP是电子邮件从客户机传输到服务器或从某一个服务器传输到另一个...响应包括一个表示返回状态的三位数字代码。在 TCP 协议 25 端口监听连接请求

    用Delphi2010 实现邮件附件收发功能

    Connected:返回它与邮件服务器的连接状态,这true表示已经连接。 CheckMessages:邮件数,如果连接服务器成功,则可以获得服务器端的邮件数。 成员函数 procedure Connect(const ATimeout: Integer = ...

    PHPMailer邮件发送的实现代码

    本机环境:LAMP(ubuntu12.10); SMTP服务器用的是stmp.163.com。...代码如下:复制代码 代码如下:&lt;?php require(“PHPMailer/class.phpmailer.php”); require(“PHPMailer/class.smtp.php”); $mail=new

    Send Email

    本代码没有针对错误提示信息处理, 但保证能正常发送邮件,大家可以自己完善它,本代码还使用IME编码,这样就可以发送超文本电子邮件了。用过 Foxmail4.1朋友应该知道,它实现的图文并茂声音邮件是它的一个亮点。本...

    IIS6.0 IIS,互联网信息服务

    Internet Information Services(IIS,互联网信息服务),是由微软公司提供的基于运行Microsoft Windows的互联网基本服务。最初是Windows NT版本的可选包,随后内置在Windows 2000、Windows XP Professional和...

    EasyBitMessageGateway:Outlook (Mail) BitMessage 网关,模拟 POP3、SMTP 使用 XML-RPC 与 BitMessage Client 交互。 (早期阿尔法)

    Outlook (Mail) BitMessage 网关,模拟 POP3、SMTP 使用 XML-RPC 与 BitMessage Client 交互。 (早期阿尔法) 早期,早期 Alpha 阶段。 初始提交。 v0.0.0.1 已经完成了: 使用 XML-RPC 从 BitMessage 客户端...

    Delphi网络通信协议分析与应用实现pdf清晰

    8.1.4 Modem返回信息码 8.2 SPComm通信控件 8.2.1 SPComm控件的属性 8.2.2 SPComm控件的方法 8.2.3 SPComm控件的事件 8.3 Windows串口通信编程 8.3.1 Windows通信API和串口通信 8.3.2 打开和关闭串口 8.3.3 ...

    Send Mail2000(绝对源代码)

    、功能介绍: 1.自定义邮件发送服务器(Smtp Server)、发送人、单位名称。 预览图片 2.邮件管理,指定与查找所需的邮件,可以发送1-100等份数(适应不同的Smtp服务器)。...发送邮件,并且返回当前的状态。预览图片

    ASP.NET3.5典型模块开发源代码

    7.4.3 获取支付成功后的返回信息 84 7.4.4 设置支付过程中的通知 88 7.4.5 实现订单到支付宝的提交 90 7.5 小结 92 第8章 电子邮件模块 93 8.1 用ASP.NET 3.5实现邮件的发送 93 8.1.1 SMTP介绍 93 ...

    鲲鹏电子商务

    9. 邮件SMTP发送组建后台选择,同时设定SMTP服务器信息 10. 管理权限细分,可以为后台所有管理选项可分别授权给不同管理者 功能之外: 1. 安全性:数据库地址保密、前后台用户密码加密、防Sql注入漏洞、常用...

    vBulletin v2.3.0 完美版(仙境)

    1,发贴后可返回该贴或返回主题列表。最好后台有个选择项; 2,性别 3,MSN hack 4,广告秀 5,在线人员的状态 比如 活跃 发呆 6,修正滚动新闻问题,更换新的代码 7,收藏夹 8,使用认证的smtp服务器的hack,...

    Android向通讯录中的联系人发邮件.rar

    代码利用 Android 提供的Intent 接口android.content.Intent.ACTION_SEND 发送一个电子邮件给本地联系人,实际上在 Android 上使用的邮件发送服务是调用Gmail程序,而非直接使用SMTP的Protocol,程序将依次完成下列...

    服务器状态监控软件的VB源码(支持短信通知)

     当网址是正常的,那么则返回网页源代码  当网址(服务器跨了)不正常,那么就返回空,监控时间为1秒,超过时间没响应则认为出事了。  [参数:]解析响应时间(resolveTimeout)/连接响应时间(connectTimeout)/...

    java jdk实列宝典 光盘源代码

    基本socket编程,介绍socket编程的基本步骤,启动socket服务器后,在打开socket的客户端,在输入框里输入消息发送到服务器,服务器受到消息后返回给客户端; Http服务器,httpsever.java; 一个支持多线程的服务器...

Magicbox
Global site tag (gtag.js) - Google Analytics