> Hi,
>
[quoted text clipped - 4 lines]
> U can put this as a last element of your code just before the program
> ends.
There is sth like shutdown hook - if u want to be sure its the last thing
ur program will do.
--
SaSol
Thanks thats exactly what i needed.
> Hi,
>
[quoted text clipped - 15 lines]
> >
> > I would like to write a program that sends an email message to notify the user that the program has ended. I would appreciate it if someone could
direct me to the Java packages/classes and references so that I can
implement this. Thanks in advance.
> > Cheers,
> > Sharp Tool
[quoted text clipped - 24 lines]
> >
> > ------=_NextPart_000_000A_01C64B9B.99BF6830--
Roedy Green - 20 Mar 2006 10:20 GMT
On Mon, 20 Mar 2006 08:02:49 GMT, "newsnet customer"
<customer@newsnet.com> wrote, quoted or indirectly quoted someone who
said :
>> > I would like to write a program that sends an email message to notify
>the user that the program has ended. I would appreciate it if someone could
>direct me to the Java packages/classes and references so that I can
>implement this. Thanks in advance.
see http://mindprod.com/jgloss/javamail.html
see the tutorial. The Javadoc is hopeless for understanding.
You can see my bulk emailer code, particularly the RESEND class that
exercises all the key Java mail API.
See http://mindprod.com/products1.html#BULK

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.