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

All Known Implementing Classes:
AuthCmdHandler, MailSizeEsmtpExtension

public interface MailParametersHook

Implement this interfaces to hook in the MAIL Command


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

Method Detail

doMailParameter

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

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

getMailParamNames

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


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