Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Sending blind carbon copy(bcc) using SmtpClient  RSS feed

 
Anil aleti
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using SmtpClient for sending mails.How to specify bcc(blind carbon copy) or cc(carbon copy) using SmtpClient.please reply me
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, your question is more like a javamail question. Use:
public void setRecipients(message.RecipientType.BCC, BCCAddress)
Have a look at the javamail docs.
 
Anil aleti
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply.But I am using SmtpClient.Is setRecipients()
method available in SmtpClient.Please reply me
 
Van Glass
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try downloading JMail at http://www.jscape.com/jsmtp.html
------------------
JFind - Your Java Resource www.jfind.com
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!