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

All Known Implementing Classes:
ValidSenderDomainHandler

public interface MailHook

Implement this interfaces to hook in the MAIL Command


Method Summary
 HookResult doMail(SMTPSession session, org.apache.mailet.MailAddress sender)
          Return the HookResult after run the hook
 

Method Detail

doMail

HookResult doMail(SMTPSession session,
                  org.apache.mailet.MailAddress sender)
Return the HookResult after run the hook

Parameters:
session - the SMTPSession
sender - the sender MailAddress
Returns:
HockResult


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