Hi!!
I need to know if I can write a class that will filter the mails received by a SMTP server and get the necessary ones to be procesed by another class. Also can I make a
servlet of this class or do I need to deploy it as a web service. The servlet or web service to be deployed is to be done in Apache
Tomcat server. The class needs to constantly ping the SMTP server for new mails or the SMTP server should send a message to the class notifying arrival of a new mails. Is this possible?