public interface BouncedEmailReporter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright.
|
Modifier and Type | Method and Description |
---|---|
BouncedEmailReport[] |
getBouncedEmailReport()
Reports the detected bounced messages from email activities.
|
void |
setDeleteMessages(boolean delete)
Set to true if the reporter should delete the email messages after it parses them.
|
static final java.lang.String COPYRIGHT
BouncedEmailReport[] getBouncedEmailReport() throws java.net.UnknownHostException, java.io.IOException
BouncedEmailReport
objects that contains the detected email addresses
that bounced for email activities.java.net.UnknownHostException
- Thrown when the host name used to connect to the email server is invalid.java.io.IOException
- Thrown when retrieval of email messages from the email server fails.void setDeleteMessages(boolean delete)
delete
- set to true if the reporter should delete the e-mail it parses them.