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