Solved

How to use Java mail API connection listener

Posted on 2004-04-12
4
823 Views
Last Modified: 2013-11-24
hi,
Very urgent..
how to implement connection listener while downloading emails from a imap server.ie I want to get an alert when ever connection to mail server is lost.My program  cntinuesly downloads mails using messagecountlistener.

Thanks in Advance
0
Comment
Question by:hemanth_mca123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 30

Accepted Solution

by:
Mayank S earned 125 total points
ID: 10804322
The implementation of the interface will be your own? When the connection is lost, do whatever you have to do in the disconnected () method.
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 11047387
Please proceed with that recommendation.
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
The viewer will learn how to implement Singleton Design Pattern in Java.
This video teaches viewers about errors in exception handling.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question