Click to See Complete Forum and Search --> : e-mail from applet...


mis
July 31st, 2000, 02:15 PM
Hi,

I need to know how can I send e-mail from Java Applet/application. is there any direct Java facility or I need to use the local server's e-mail server/program. if so how can I do in either case.


thanks

kib63613
July 31st, 2000, 06:32 PM
You may write the server application which is resposible for sending email to the mail server which
may send the email to the recipent. JavaMail is the email client package. It is a good package in this
case. It can satisfy your need. Second question is that you need to connect your applet to the server
application. Suppose that your server application is the servlet. You may send the email information
to the servlet via this connection. And the servlet pack the information and make a connection to
the mail server via JavaMail, and send the email.
If you want to know how to connect applet to servlet, you may reference Java Server Programming
by wrox, or Java Servlet Programming by Oreilly.
Good luck,
Alfred Wu

mis
August 1st, 2000, 03:06 PM
thanks.