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

后端 未结 3 1339
误落风尘
误落风尘 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:55

    As Dietrich mentions, that's not possible with the RFC. If the primary goal is to send to the bcc target email addresses, you could provide a dummy to email address (such as your own email address or a reply-to email), which would fulfill that technicality while still allowing you to send the email to the desired bcc targets.

提交回复
热议问题