On Thu, 22 Oct 1998, Matt Zagni wrote:
>
> Hi,
>
> Please could someone mail me an example of a sendmail java class file
> and .java file or even a url where examples are located.
IBM of course:
http://www.alphaworks.ibm.com/
Look for the smtp packackage. Includes smtp (talks to sendmail) and
Hi Tram
I have attached some code I put together by "borrowing" bits of code I have
found.
Shafiek
"Nguyen, Tram N." wrote:
> The following example is a very simple sendmail tool using 'mailto:'
> protocol, you can write your own mail handler for smtp protocol or other
> ultilizing net, io p
Cc: 'Matt Zagni' <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> Subject: Re: request for a sendmail java script
> Content-Transfer-Encoding: 7bit
>
> Matt,
>
> I would also sugest that you check out the O'Reilly book "Java Examples
> in a Nutshell&quo
> I would also sugest that you check out the O'Reilly book "Java Examples
> in a Nutshell". You can download all the examples for this book at:
>
> http://www.oreilly.com/catalog/jenut/examples/
There's also a JavaMail API which has drivers for SendMail (actually
for SMTP).
M.
Matt,
I would also sugest that you check out the O'Reilly book "Java Examples
in a Nutshell". You can download all the examples for this book at:
http://www.oreilly.com/catalog/jenut/examples/
It includes a sendmail.java example almost identical to the one Tram has
show here. If you like seeing
The following example is a very simple sendmail tool using 'mailto:'
protocol, you can write your own mail handler for smtp protocol or other
ultilizing net, io package .
import java.io.*;
import java.net.*;
/**
* This program sends e-mail using a mailto: URL
**/
public class SendMail {