Hi,
> But if I send I am able to
> see the To information in the bcc address,
Are you sure that your initial string "bcc" is correct ? Try
printing this also
to ensure that the problem is not here.
Regards,
Ritesh
----- Original Message -----
From: Daniel Jayapaul <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 25, 2002 8:23 AM
Subject: JavaMail Bcc Not Working For Me
Hi
//Set the BCC address of the Recipients
if (bcc != null) {
strTokbcc = new StringTokenizer(bcc,";,");
while(strTokbcc.hasMoreTokens()) {
String strbcc = (strTokbcc.nextToken());
Address[] bccaddress =
InternetAddress.parse(strbcc);
msg.addRecipients(Message.RecipientType.BCC,
bccaddress);
}
}
I use this peice of code to send bcc for multiple bcc
addresses in my my
mail application, But if I send I am able to
see the To information in the bcc address, which should not
be seen,
Can you tell me where I am wrong?
Thanks in advance!
Daniel.E
============================================================
===============
To unsubscribe: mailto [EMAIL PROTECTED] with body:
"signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set
JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com