Solved

How to use Java mail API connection listener

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
stackato and cloud 4 87
Tomcat: Unable to run tomcat service. 2 20
maven module vs maven project 3 23
Notify sent to other threads in Java 9 14
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.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

832 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