public interface MailService
Modifier and Type | Method and Description |
---|---|
boolean |
isHostConfigured() |
void |
submit(MailMessage mailMessage)
Submit the
MailMessage to the mail queue. |
boolean isHostConfigured()
void submit(MailMessage mailMessage) throws NoMailHostConfigurationException, MailQueueFullException, MailSizeExceededException
MailMessage
to the mail queue.mailMessage
- the message to send.NoMailHostConfigurationException
- if the mail host hasn't been configuredMailQueueFullException
- if the mail queue is full and it cannot be queuedMailSizeExceededException
- if the mail subject/body is too largeCopyright © 2019 Atlassian. All rights reserved.