0

最近我们正在创建一个解释电子邮件内容的应用程序,这个应用程序将给我们TO地址,CC地址和BCC地址。

在处理 BCC 字段时,我们发现它似乎无法直接获取 BCC 地址。参考RFC2822,出现了更多问题。

 " There are three ways in which the "Bcc:" field is used. 
   In the first case, when a message containing a "Bcc:" field
   is prepared to be sent, the "Bcc:" line is removed even 
   though all of the recipients (including those specified
   in the "Bcc:" field) are sent a copy of the message...

   Finally, since a "Bcc:" field may contain no addresses, a 
   "Bcc:" field can be sent without any addresses indicating
   to the recipients that blind copies were sent to someone. "

假设按照以下地址发送电子邮件

   To: to1@address.com
   cc: cc1@address.com 
   bcc: bcc1@address.com

我的问题是,当收件人 bcc1@address.com 收到其电子邮件时,电子邮件源文件中是否会有“bcc1@address.com”?如果是,那么它放在什么字段?如果没有,那么当没有关于“bcc1@address.com”的任何信息时,这封电子邮件怎么可能发送给收件人

[更新]
如果电子邮件中不包含密件抄送收件人电子邮件地址的信息(包括标头部分),电子邮件服务器如何知道将这封电子邮件发送到谁的邮箱?服务器如何正确转发此类电子邮件?

4

1 回答 1

1

电子邮件的内容不一定包含有关其收件人的任何信息。在消息传输过程中,此信息被携带在消息信封中,然后在传递时被丢弃。

您所追求的无法可靠地完成(尽管许多人与人之间的消息显然包含标题中的信息)。

许多邮件列表邮件就是很好的例子,尤其是那些发送给同一域中的多个收件人的邮件。

于 2015-11-07T06:42:58.870 回答