Anshul Dutta wrote:
>
> Yes. And to make it look as cc add following
> mailClient = new SmtpClient(Server);
> PrintStream ps =mailClient.startMessage();
> ps.println("To: "[EMAIL PROTECTED]);
> ps.println("CC: "[EMAIL PROTECTED]);
> This will send mail to [EMAIL PROTECTED] and CC to
> [EMAIL PROTECTED]
You might also want to look at com.oreilly.servlet.MailMessage from
http://Servlets.com, similar in simplicity to SmtpClient but with nice
perks like a cc() method. Source is also available. There's JavaMail
too of course.
-jh-
___________________________________________________________________________
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