• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 855
  • Last Modified:

How to use Java mail API connection listener

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
hemanth_mca123
Asked:
hemanth_mca123
  • 2
1 Solution
 
Mayank SAssociate Director - Product EngineeringCommented:
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
 
Mayank SAssociate Director - Product EngineeringCommented:
Please proceed with that recommendation.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now