public class DefaultEmailService extends Object implements EmailService
Constructor and Description |
---|
DefaultEmailService(com.atlassian.core.task.MultiQueueTaskManager taskManager,
I18NBeanFactory i18NBeanFactory,
DataSourceFactory dataSourceFactory,
VelocityHelperService velocityHelperService,
MailServerExistsCriteria mailServerExistsCriteria) |
Modifier and Type | Method and Description |
---|---|
protected PreRenderedMailNotificationQueueItem |
renderEmail(PreRenderedMailNotificationQueueItem.Builder builder) |
NotificationSendResult |
sendToEmail(NotificationData notificationData,
String emailAddress) |
NotificationSendResult |
sendToEmails(NotificationData notificationData,
List<String> recipients) |
public DefaultEmailService(com.atlassian.core.task.MultiQueueTaskManager taskManager, I18NBeanFactory i18NBeanFactory, DataSourceFactory dataSourceFactory, VelocityHelperService velocityHelperService, MailServerExistsCriteria mailServerExistsCriteria)
public NotificationSendResult sendToEmails(NotificationData notificationData, List<String> recipients)
sendToEmails
in interface EmailService
protected PreRenderedMailNotificationQueueItem renderEmail(PreRenderedMailNotificationQueueItem.Builder builder)
public NotificationSendResult sendToEmail(NotificationData notificationData, String emailAddress)
sendToEmail
in interface EmailService
Copyright © 2003–2019 Atlassian. All rights reserved.