sending email using “bcc” without “to” in java application

后端 未结 3 1344
误落风尘
误落风尘 2021-01-22 09:23

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

3条回答
  •  爱一瞬间的悲伤
    2021-01-22 09:51

    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.)

提交回复
热议问题