org.apache.james.protocols.smtp.hook
Interface MessageHook
- All Known Implementing Classes:
- MailSizeEsmtpExtension
public interface MessageHook
Custom message handlers must implement this interface The message hooks will
be server-wide common to all the SMTPHandlers, therefore the handlers must
store all the state information in the SMTPSession object
onMessage
HookResult onMessage(SMTPSession session,
MailEnvelope mail)
- Handle Message
Copyright © 2010 The Apache Software Foundation. All Rights Reserved.