public class AcceptRecipientIfRelayingIsAllowed extends Object implements RcptHook
| Constructor and Description |
|---|
AcceptRecipientIfRelayingIsAllowed() |
| Modifier and Type | Method and Description |
|---|---|
HookResult |
doRcpt(SMTPSession session,
MailAddress sender,
MailAddress rcpt)
Return the HookResult after run the hook
|
public HookResult doRcpt(SMTPSession session, MailAddress sender, MailAddress rcpt)
RcptHookdoRcpt in interface RcptHooksession - the SMTPSessionsender - the sender MailAddressrcpt - the recipient MailAddressorg.apache.james.protocols.smtp.hook.RcptHook#doRcpt(org.apache.james.protocols.smtp.SMTPSession,
org.apache.mailet.MailAddress, org.apache.mailet.MailAddress)Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.