使用“密送”发送电子邮件没有“到”在java应用程序中 [英] sending email using "bcc" without "to" in java application

查看:117
本文介绍了使用“密送”发送电子邮件没有“到”在java应用程序中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经阅读了stackoverflow中的所有引用。但是,我们的目标没有任何匹配。如何在java中的sendmail方法中使用密件抄送

I have read all the reference in stackoverflow. However, nothing matches in our goal. How can i use bcc in sendmail method in java?

推荐答案

根据RFC for SMTP, RFC 2821(链接),如果没有<$,则无法发送电子邮件c $ c>收件人:标题。 (如果没有它,你不能发送 RCPT 命令,见3.3节。)

According to the RFC for SMTP, RFC 2821 (link), it is not possible to send an email message without a To: header. (You cannot send an RCPT command without it, see section 3.3.)

这篇关于使用“密送”发送电子邮件没有“到”在java应用程序中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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