@Service public class EmailService extends Object
Constructor and Description |
---|
EmailService(com.atlassian.mail.server.MailServerManager mailServerManager) |
Modifier and Type | Method and Description |
---|---|
void |
emptyQueue() |
protected com.atlassian.bamboo.mail.EmailService.MailQueueProcessor |
getMailQueueProcessor() |
void |
init() |
boolean |
isQueueEmpty() |
void |
onDestroy() |
boolean |
queueEmail(com.atlassian.mail.Email email) |
void |
sendEmailSynchronously(com.atlassian.mail.Email email,
com.atlassian.mail.server.SMTPMailServer mailServer) |
public EmailService(com.atlassian.mail.server.MailServerManager mailServerManager)
@PostConstruct public void init()
@PreDestroy public void onDestroy()
public boolean queueEmail(com.atlassian.mail.Email email)
public void emptyQueue()
public boolean isQueueEmpty()
protected com.atlassian.bamboo.mail.EmailService.MailQueueProcessor getMailQueueProcessor()
public void sendEmailSynchronously(com.atlassian.mail.Email email, com.atlassian.mail.server.SMTPMailServer mailServer) throws com.atlassian.mail.MailException
com.atlassian.mail.MailException
Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.