The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
August 2001



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


possible via applets

Posted by Siddhant Kumar on August 24, 2001 at 1:31 AM

you can open a socket for sending mails... search for java mail program you will get source code of it. Open a socket and send Mail address, port no. and subject with body of the mail using streams..

hope this is useful

bye for now

Siddhant Kumar

> hi,
> is there a way send a mail from a java-applet(which is running in a browser -> 1.1). I heard things about using a cgi-script.
> (already have one, but i dont know how to use it from the applet)
> or Java-Mail. or maybe Java-Script(via LiveConnect).
> Wich one is best, what should i use??
> thx
> -ilya


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us