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

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

public interface MailParametersHook
extends Hook

Implement this interfaces to hook in the MAIL Command


Method Summary
 HookResult doMailParameter(SMTPSession session, String paramName, String paramValue)
          Return the HookResult after run the hook
 String[] getMailParamNames()
           
 

Method Detail

doMailParameter

HookResult doMailParameter(SMTPSession session,
                           String paramName,
                           String paramValue)
Return the HookResult after run the hook

Parameters:
session - the SMTPSession
paramName - parameter name
paramValue - parameter value
Returns:
HockResult

getMailParamNames

String[] getMailParamNames()
Returns:
an array of supported parameters


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