public interface IMilterListener
Modifier and Type | Interface and Description |
---|---|
static class |
IMilterListener.Status |
Modifier and Type | Method and Description |
---|---|
IMilterListener.Status |
onBody(java.nio.ByteBuffer bodyp)
Called to handle a piece of a message's body
|
IMilterListener.Status |
onEnvFrom(java.lang.String from)
Called to handle the envelope FROM command
|
IMilterListener.Status |
onEnvRcpt(java.lang.String rcpt)
Called to handle the envelope RCPT command.
|
IMilterListener.Status |
onEoh()
Called to handle the end of message headers
|
IMilterListener.Status |
onHeader(java.lang.String headerf,
java.lang.String headerv)
Called to handle message header
|
IMilterListener.Status |
onMessage(SmtpEnvelope envelope,
org.apache.james.mime4j.dom.Message message)
Called for each message
|
IMilterListener.Status onMessage(SmtpEnvelope envelope, org.apache.james.mime4j.dom.Message message)
envelope
- message
- IMilterListener.Status onEnvFrom(java.lang.String from)
from
- IMilterListener.Status onEnvRcpt(java.lang.String rcpt)
rcpt
- IMilterListener.Status onHeader(java.lang.String headerf, java.lang.String headerv)
headerf
- headerv
- IMilterListener.Status onEoh()
IMilterListener.Status onBody(java.nio.ByteBuffer bodyp)
bodyp
- Copyright © 2021. All Rights Reserved.