public class MailboxDeliverToRecipientHandler extends Object implements org.apache.james.protocols.lmtp.hook.DeliverToRecipientHook
DeliverToRecipientHook
which deliver the message directly to the recipients mailbox.Constructor and Description |
---|
MailboxDeliverToRecipientHandler() |
Modifier and Type | Method and Description |
---|---|
org.apache.james.protocols.smtp.hook.HookResult |
deliver(org.apache.james.protocols.smtp.SMTPSession session,
org.apache.james.protocols.smtp.MailAddress recipient,
org.apache.james.protocols.smtp.MailEnvelope envelope) |
void |
setMailboxManager(org.apache.james.mailbox.MailboxManager mailboxManager) |
void |
setUsersRepository(UsersRepository users) |
public final void setUsersRepository(UsersRepository users)
public final void setMailboxManager(org.apache.james.mailbox.MailboxManager mailboxManager)
public org.apache.james.protocols.smtp.hook.HookResult deliver(org.apache.james.protocols.smtp.SMTPSession session, org.apache.james.protocols.smtp.MailAddress recipient, org.apache.james.protocols.smtp.MailEnvelope envelope)
deliver
in interface org.apache.james.protocols.lmtp.hook.DeliverToRecipientHook
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.