I have read all the reference in stackoverflow. However, nothing matches in our goal. How can i use bcc in sendmail method in java?
msg.addRecipient(Message.RecipientType.BCC, new InternetAddress("joe@example.com"));
By default, JavaMail collects all the recipients specified on the Message object, including Bcc recipients, and uses them in the RCPT command to the SMTP server. The Bcc recipients won't show up in the message headers, however (which is the whole point of Bcc).