org.apache.james.protocols.smtp.hook
Interface MessageHook

All Superinterfaces:
Hook, ProtocolHandler
All Known Implementing Classes:
MailSizeEsmtpExtension, SimpleHook

public interface MessageHook
extends Hook

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


Method Summary
 HookResult onMessage(SMTPSession session, MailEnvelope mail)
          Handle Message
 

Method Detail

onMessage

HookResult onMessage(SMTPSession session,
                     MailEnvelope mail)
Handle Message



Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.