public interface FilterChain
| Modifier and Type | Method and Description |
|---|---|
void |
begin() |
void |
data(MailData data)
A typical implementation of this method would follow the following
pattern: 1. examine the complete mail data or only its headers 2.
|
void |
from(ReversePath from) |
void |
recipient(RecipientContext recipientContext) |
FilterReply |
verifyRecipient(RecipientContext recipientContext) |
void begin()
void from(ReversePath from) throws RejectExceptionExt
RejectExceptionExtFilterReply verifyRecipient(RecipientContext recipientContext) throws RejectExceptionExt
RejectExceptionExtvoid recipient(RecipientContext recipientContext) throws RejectExceptionExt
RejectExceptionExtvoid data(MailData data) throws RejectExceptionExt, org.subethamail.smtp.TooMuchDataException, java.io.IOException
The passed MailData object will become the return value of
MailTransaction.getData() until another filter replaces it
possibly by wrapping it
RejectExceptionExtorg.subethamail.smtp.TooMuchDataExceptionjava.io.IOException