[628] in java-interest

home help back first fref pref prev next nref lref last post

Re: e-mail libraries

daemon@ATHENA.MIT.EDU (Jonathan Payne)
Sun Jul 9 22:19:14 1995

Date: Sun, 9 Jul 1995 12:54:25 -0700
From: jpayne@starwave.com (Jonathan Payne)
To: java-interest@java.Eng.Sun.COM

Read the code, dude!

> From: ekim@nyquist.bellcore.com (Michael Mills 21728)
> Date: Sat, 8 Jul 1995 19:54:23 -0400 (EDT)
> Cc: java-interest@java.sun.com
> X-Mailer: ELM [version 2.4 PL2]
> Mime-Version: 1.0
> Content-Type: text/plain; charset=US-ASCII
> Content-Length: 1302
> 
> 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

home help back first fref pref prev next nref lref last post