Package com.groiss.mail
Interface MailHandler2
public interface MailHandler2
The MailHandler interface allows you to write classes which perform
some action on incoming mails.
-
Method Summary
-
Method Details
-
receive
Implement this method to perform some action with the mail message.- Parameters:
msg
- the mail messagemb
- the mailbox we read from- Returns:
- true when the message should be deleted from the mailbox.
- Throws:
Exception
-