| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MessageFilter
Allows incoming email messages to be filtered by the recipient's email address.
| Method Summary | |
|---|---|
|  boolean | acceptMessage(EmailAddress recipient,
              InetAddress senderAddress,
              EmailAddress sender)Determines whether the email message (or the recipient if there are multiple to addresses specified) should be accepted. | 
| Method Detail | 
|---|
boolean acceptMessage(EmailAddress recipient,
                      InetAddress senderAddress,
                      EmailAddress sender)
This method will be executed while the connection to the remote sender is open, so execution time is critical.
recipient - the recipient to test.  The email address specified in the RCPT TO command.senderAddress - the Internet Address of the SMTP client.sender - The email address specified in the MAIL FROM command.
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||