最近我们正在创建一个解释电子邮件内容的应用程序,这个应用程序将给我们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”的任何信息时,这封电子邮件怎么可能发送给收件人?
[更新]
如果电子邮件中不包含密件抄送收件人电子邮件地址的信息(包括标头部分),电子邮件服务器如何知道将这封电子邮件发送到谁的邮箱?服务器如何正确转发此类电子邮件?