[626] in java-interest
Re: e-mail libraries
daemon@ATHENA.MIT.EDU (Michael Mills 21728)
Sun Jul 9 22:19:05 1995
From: ekim@nyquist.bellcore.com (Michael Mills 21728)
Date: Sat, 8 Jul 1995 19:54:23 -0400 (EDT)
To: java-interest@java.Eng.Sun.COM
Hi,
The class is in the release. However, I could not find the documentation.
Mike
> > Date: Thu, 06 Jul 1995 13:45:58 -0400
> > From: Yitzie Mandelbaum <yitzi@tsar.poly.edu>
> > Sender: owner-java-interest@java.sun.com
> >
> > Are there any libraries that allow you to send e-mail from an applet ?
> > I have used the telnet library that allows you to send and recieve
> > information over telnet, and was wondering if there were any comparable
> > e-mail libraries (send-only, of course).
> > I would greatly appreciate an answer on this, as it is an integral
> > part of a project that I'm working on.
>
> Here's a code fragment from one of my applets:
>
> smtp = new SmtpClient();
> smtp.to(address.value);
> String from = System.getenv("USER");
> if (from == null)
> from = "VerifierApplet";
> smtp.from(from);
> PrintStream out = smtp.startMessage();
> out.println("From: " + from);
> out.println("Subject: verify results for " + baseUrl);
> out.println("To: " + address.value);
> out.println("");
> out.print(output.substring(0, output.length()));
> out.close();
>
> This works very well.
>
> -
> Note to Sun employees: this is an EXTERNAL mailing list!
> Info: send 'help' to java-interest-request@java.sun.com
>
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com