com.groiss.mail
Interface MailHandler


public interface MailHandler

The MailHandler interface allows you to write classes which perform some action on incoming mails.


Method Summary
 boolean receive(Message msg)
          Implement this method to perform some action with the mail message.
 

Method Detail

receive

boolean receive(Message msg)
                throws Exception
Implement this method to perform some action with the mail message.

Parameters:
msg - the mail message
Returns:
true when the message should be deleted from the mailbox.
Throws:
Exception


@enterprise 8.0.10809 Copyright © 2001-2012 Groiss Informatics GmbH. All Rights Reserved.