Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2006

Tip: Looking for answers? Try searching our database.

Java E-mail

Thread view: 
newsnet customer - 19 Mar 2006 11:56 GMT
Hi,

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
anish.bansal@gmail.com - 19 Mar 2006 12:44 GMT
Hi,

Probably this might help:

http://www.vipan.com/htdocs/javamail.html

U can put this as a last element of your code just before the program
ends.

For more details and API, u can visit:

http://java.sun.com/products/javamail/javadocs/index.html

cheers,
Anish

> Hi,
>
[quoted text clipped - 28 lines]
>
> ------=_NextPart_000_000A_01C64B9B.99BF6830--
Marcin Wielgus - 19 Mar 2006 13:37 GMT
> 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
newsnet customer - 20 Mar 2006 09:02 GMT
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.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.