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

All Known Implementing Classes:
AbstractAuthRequiredToRelayRcptHook, AbstractGreylistHandler, AbstractSenderAuthIdentifyVerificationRcptHook, AbstractValidRcptHandler, AcceptRecipientIfRelayingIsAllowed, DNSRBLHandler, MaxRcptHandler, PostmasterAbuseRcptHook, ResolvableEhloHeloHandler, ReverseEqualsEhloHeloHandler, SpamTrapHandler, SupressDuplicateRcptHandler, TarpitHandler

public interface RcptHook

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 The Apache Software Foundation. All Rights Reserved.