public final class LoggingMessageListener extends Object implements org.subethamail.smtp.helper.SimpleMessageListener
| Modifier and Type | Field and Description |
|---|---|
static String |
MSG_LOG_NAME |
| Constructor and Description |
|---|
LoggingMessageListener() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(String from,
String recipient)
Always accept everything
|
void |
deliver(String from,
String recipient,
InputStream data) |
public static final String MSG_LOG_NAME
public boolean accept(String from, String recipient)
accept in interface org.subethamail.smtp.helper.SimpleMessageListenerpublic void deliver(String from, String recipient, InputStream data) throws IOException
deliver in interface org.subethamail.smtp.helper.SimpleMessageListenerIOExceptionCopyright © 2015 Zalando SE. All rights reserved.