public class ErrorHandlerMessageHandler
extends Object
implements org.subethamail.smtp.MessageHandler
Constructor and Description |
---|
ErrorHandlerMessageHandler(org.subethamail.smtp.MessageHandler wrappedHandler) |
Modifier and Type | Method and Description |
---|---|
void |
data(java.io.InputStream data) |
void |
done() |
void |
from(String from) |
void |
recipient(String recipient) |
public ErrorHandlerMessageHandler(org.subethamail.smtp.MessageHandler wrappedHandler)
public void from(String from) throws org.subethamail.smtp.RejectException
from
in interface org.subethamail.smtp.MessageHandler
org.subethamail.smtp.RejectException
public void recipient(String recipient) throws org.subethamail.smtp.RejectException
recipient
in interface org.subethamail.smtp.MessageHandler
org.subethamail.smtp.RejectException
public void data(java.io.InputStream data) throws org.subethamail.smtp.RejectException, org.subethamail.smtp.TooMuchDataException, java.io.IOException
data
in interface org.subethamail.smtp.MessageHandler
org.subethamail.smtp.RejectException
org.subethamail.smtp.TooMuchDataException
java.io.IOException
public void done()
done
in interface org.subethamail.smtp.MessageHandler