public class SendMailHandler extends Object implements JamesMessageHook
Constructor and Description |
---|
SendMailHandler() |
Modifier and Type | Method and Description |
---|---|
void |
init() |
org.apache.james.protocols.smtp.hook.HookResult |
onMessage(org.apache.james.protocols.smtp.SMTPSession session,
org.apache.mailet.Mail mail)
Adds header to the message
|
void |
setMailQueueFactory(MailQueueFactory queueFactory) |
public void setMailQueueFactory(MailQueueFactory queueFactory)
@PostConstruct public void init()
public org.apache.james.protocols.smtp.hook.HookResult onMessage(org.apache.james.protocols.smtp.SMTPSession session, org.apache.mailet.Mail mail)
onMessage
in interface JamesMessageHook
org.apache.james.smtpserver
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.