InternetAddress(bcc));
>
>message.setSubject("Hi");
>message.setText("Mail test");
>
>// Send message
> Transport.send(message);
>
>
>/**/
>----- Original Message -
>From: "Richard
a Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Daniel Jayapaul
Sent: Wednesday, September 25, 2002 4:00 AM
To: [EMAIL PROTECTED]
Subject: Re: JavaMail Bcc Not Working For Me
Hi Richard
Cheers, I tried and still I can see the (to addresses) in the bcc email,
I e
st");
// Send message
Transport.send(message);
/**/
- Original Message -
From: "Richard Yee" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 25, 2002 2:57 PM
Subject: Re: JavaMail
Daniel,
Check your code again. It looks like you are taking a list of recipients
delimited by ';' and ',', parsing it into separate tokens, converting the
individual addresses into Address[] and then using
MimeMessage.addReceipients to add the individual addresses. You should
either remove the loo
September 25, 2002 11:19 AM
Subject: Re: JavaMail Bcc Not Working For Me
> 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 t
MAIL 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.hasMo
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.