public class TestMessageListener
extends java.lang.Object
implements org.subethamail.smtp.helper.SimpleMessageListener
Constructor and Description |
---|
TestMessageListener() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(java.lang.String from,
java.lang.String recipient) |
void |
deliver(java.lang.String from,
java.lang.String recipient,
java.io.InputStream data) |
long |
total() |
public boolean accept(java.lang.String from, java.lang.String recipient)
accept
in interface org.subethamail.smtp.helper.SimpleMessageListener
public void deliver(java.lang.String from, java.lang.String recipient, java.io.InputStream data) throws org.subethamail.smtp.TooMuchDataException, java.io.IOException
deliver
in interface org.subethamail.smtp.helper.SimpleMessageListener
org.subethamail.smtp.TooMuchDataException
java.io.IOException
public long total()
Copyright © 2021. All Rights Reserved.