| Package | Description |
|---|---|
| io.robe.mail | |
| io.robe.mail.queue |
| Modifier and Type | Method and Description |
|---|---|
void |
MailEvent.before(MailItem item)
Called before the mail sending.
|
void |
MailEvent.error(MailItem item,
Exception e)
Called after the mail sending if it is failed.
|
static boolean |
MailManager.sendMail(MailItem item)
Takes the mail item into the queue and manages the mail sender thread.
|
void |
MailEvent.success(MailItem item)
Called after the mail sending if it is succeeded.
|
| Modifier and Type | Method and Description |
|---|---|
MailItem |
InMemoryMailQueue.peek() |
MailItem |
InMemoryMailQueue.poll() |
| Modifier and Type | Method and Description |
|---|---|
Iterator<MailItem> |
InMemoryMailQueue.iterator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
InMemoryMailQueue.add(MailItem item) |
boolean |
InMemoryMailQueue.remove(MailItem item) |
Copyright © 2016. All rights reserved.