public interface MailQueue
| Modifier and Type | Method and Description |
|---|---|
String |
enqueue(Email email) |
List<String> |
getEnqueuedEmailIds() |
boolean |
isKeepSent() |
Email |
loadEmail(String id) |
void |
markFailed(String id) |
void |
markSent(String id) |
void |
setKeepSent(boolean keepSent) |
static final String copyright
String enqueue(Email email) throws QueueException
QueueExceptionList<String> getEnqueuedEmailIds() throws QueueException
QueueExceptionEmail loadEmail(String id) throws QueueException
QueueExceptionvoid markSent(String id) throws QueueException
QueueExceptionvoid markFailed(String id) throws QueueException
QueueExceptionboolean isKeepSent()
void setKeepSent(boolean keepSent)