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
RejectExceptionExt
FilterReply verifyRecipient(RecipientContext recipientContext) throws RejectExceptionExt
RejectExceptionExt
void recipient(RecipientContext recipientContext) throws RejectExceptionExt
RejectExceptionExt
void 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
RejectExceptionExt
org.subethamail.smtp.TooMuchDataException
java.io.IOException