This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes Sending blind carbon copy(bcc) using SmtpClient Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Sending blind carbon copy(bcc) using SmtpClient" Watch "Sending blind carbon copy(bcc) using SmtpClient" New topic
Author

Sending blind carbon copy(bcc) using SmtpClient

Anil aleti
Greenhorn

Joined: May 02, 2000
Posts: 9
I am using SmtpClient for sending mails.How to specify bcc(blind carbon copy) or cc(carbon copy) using SmtpClient.please reply me


aaa
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
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

Joined: May 02, 2000
Posts: 9
Thanks for the reply.But I am using SmtpClient.Is setRecipients()
method available in SmtpClient.Please reply me
Van Glass
Ranch Hand

Joined: Nov 18, 2000
Posts: 110
Try downloading JMail at http://www.jscape.com/jsmtp.html
------------------
JFind - Your Java Resource www.jfind.com
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Sending blind carbon copy(bcc) using SmtpClient
 
Similar Threads
WA #1.....word association
Hide All recipients email address
outlook express
Eclipse vs NetBeans
Using sun.net.smtp.SmtpClient