This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Sun's SMTP client is fairly simple, but I think it probably supports what you are looking for. Have you tried just adding: message.println("CC: " + cc); It might work. Also, unless you have some restriction against using it, the JavaMail API is pretty easy to use also, and it supports pretty much everything you can do with email. Hope this helps.
- Chris Stehno, SCPJ
Joined: Feb 27, 2004
Thanks a lot. I do that you tell me, I add: message.println("CC: " + cc); and it works, i received the mail as cc recipient. Then i try adding message.println("BCC: " + bcc); but i did't receive any mail as bcc recipient. I don't know why. Maybe I should try to use JavaMail Api thanks and regards