在SMTP中,RCPT TO:和TO:是否匹配? [英] In SMTP, must the RCPT TO: and TO: match?

查看:2188
本文介绍了在SMTP中,RCPT TO:和TO:是否匹配?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

发送电子邮件时,通过RCTP TO:命令在SMTP对话期间给出收件人列表。之后,在DATA命令中,指示To,Cc,bcc等标题字段。 RCPT TO收件人列表是否必须与DATA命令中指示的标题相匹配?

When sending an email, the recipient list is given during the SMTP dialogue through RCTP TO: command. Later, in DATA command, header fields like 'To', 'Cc','bcc' are indicated. Does this RCPT TO list of recipients have to match with the headers indicated in DATA command?

此外,如果收件人未在RCPT TO中显示,而在收件人字段中的电子邮件标题,是否会传递给不在RCPT TO的收件人?

Also, if the recipient is not indicated in RCPT TO, but in the To field of email header, is it going to be delivered to the recipient not in RCPT TO ?

推荐答案

不,他们没有匹配。当邮件发送时,SMTP服务器(也称为邮件传输代理或MTA)正在创建一个所谓的SMTP信封,其中包含邮件的收件人和发件人(请参阅 RFC5321 ):

No, they don't have to match. When the message is sent, the SMTP Server (aka Message Transfer Agent or MTA) is creating a so called SMTP envelope which contains the recipients and the sender of the message (see RFC5321):



SMTP传输邮件对象。邮件对象包含信封和内容。 SMTP信封作为一系列SMTP协议
单元发送(在第3节中描述)。它由一个发起者
地址(应针对哪个错误报告),一个或多个
收件人地址和可选的协议扩展资料。

SMTP transports a mail object. A mail object contains an envelope and content. The SMTP envelope is sent as a series of SMTP protocol units (described in Section 3). It consists of an originator address (to which error reports should be directed), one or more recipient addresses, and optional protocol extension material.


实际上,RCPT TO:Command有更多收件人的消息头,通常情况下是使用盲拷贝bcc:(请参阅 RFC5321 ):

It is, actually, quite often that the RCPT TO: Command has more recipients that the header of the message - one common case is the usage of "blind copies" bcc: (see RFC5321):


出于许多原因,不在消息头部分中出现的地址可能会在RCPT命令中出现
到SMTP服务器。
两个最常见的是使用邮寄地址作为列表
exploder(单个地址解析成多个地址)和
出现盲目副本。 p>

Addresses that do not appear in the message header section may appear in the RCPT commands to an SMTP server for a number of reasons. The two most common involve the use of a mailing address as a "list exploder" (a single address that resolves into multiple addresses) and the appearance of "blind copies".

这篇关于在SMTP中,RCPT TO:和TO:是否匹配?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆