Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sending blind carbon copy(bcc) using SmtpClient

 
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic