This can be done by doing: message.setRecipients(Message.RecipientType.CC, CC); message.setRecipients(Message.RecipientType.BCC, BCC); I hope this helps!
InternetAddress[] address1 = {new InternetAddress();address1.parse(request.getParameter("cc"))}; newMessage.setRecipients(Message.RecipientType.BCC, address1); I used this !even then it doesn't work!
Jayson Falkner<br />[email protected]<br />Author of <a href="http://www.jspbook.com" target="_blank" rel="nofollow">Servlets and JavaServer Pages; the J2EE Web Tier</a>