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
doMailParameter
HookResult doMailParameter(SMTPSession session,
java.lang.String paramName,
java.lang.String paramValue)
- Return the HookResult after run the hook
- Parameters:
session - the SMTPSessionparamName - parameter nameparamValue - parameter value
- Returns:
- HockResult
getMailParamNames
java.lang.String[] getMailParamNames()
- Returns:
- an array of supported parameters
Copyright © 2010 The Apache Software Foundation. All Rights Reserved.