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

All Superinterfaces:
Hook, ProtocolHandler
All Known Implementing Classes:
AbstractAuthRequiredToRelayRcptHook, AbstractGreylistHandler, AbstractSenderAuthIdentifyVerificationRcptHook, AbstractValidRcptHandler, AcceptRecipientIfRelayingIsAllowed, DNSRBLHandler, MaxRcptHandler, PostmasterAbuseRcptHook, ResolvableEhloHeloHandler, ReverseEqualsEhloHeloHandler, SimpleHook, SpamTrapHandler, SupressDuplicateRcptHandler

public interface RcptHook
extends Hook

Implement this interfaces to hook in the MAIL Command


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

Method Detail

doRcpt

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

Parameters:
session - the SMTPSession
sender - the sender MailAddress
rcpt - the recipient MailAddress
Returns:
HookResult


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