you can write
sendmail.to(list[i]);
where list contains the email addresses
but it won't be a real CC :(
It will be a multimail solution.
regards zoli
----- Original Message -----
From: "Cheong Takhoe" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 07, 2000 11:06 AM
Subject: CC in mail
> Hi,
>
> How do I do a CC in an email generated by a jsp page
> using a bean that has the sun.net.smtp.SmtpClient class?
>
> regards,
> Cheong Takhoe
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html