Solved

How to use Java mail API connection listener

Posted on 2004-04-12
4
818 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How do I remove an object from a 3 60
Select statement in @Query (JPA Repository) - SpringMVC 2 52
Tagging and Merging on Branch 1 66
Firefox and firebub 5 22
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
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.
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

738 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