public class MailTrigger extends java.lang.Object implements MailRequestor
Constructor and Description |
---|
MailTrigger(MailEnv env) |
Modifier and Type | Method and Description |
---|---|
MailId |
enqueue(PlainTextMail message)
Adds the email request to the queue and returns immediately.
|
public MailTrigger(MailEnv env)
public MailId enqueue(PlainTextMail message)
MailRequestor
enqueue
in interface MailRequestor
message
- details what to email message to send.