org.apache.james.protocols.smtp.hook
Interface MailHook
- All Superinterfaces:
- Hook, ProtocolHandler
- All Known Implementing Classes:
- SimpleHook, ValidSenderDomainHandler
public interface MailHook
- extends Hook
Implement this interfaces to hook in the MAIL Command
doMail
HookResult doMail(SMTPSession session,
org.apache.mailet.MailAddress sender)
- Return the HookResult after run the hook
- Parameters:
session - the SMTPSessionsender - the sender MailAddress
- Returns:
- HockResult
Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.