com.atlassian.confluence.user.notifications
Class DefaultEmailService
java.lang.Object
com.atlassian.confluence.user.notifications.DefaultEmailService
- All Implemented Interfaces:
- EmailService
public class DefaultEmailService
- extends Object
- implements EmailService
Sends emails to email addresses, rather than users.
- Since:
- v4.2.4
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultEmailService
public DefaultEmailService(com.atlassian.core.task.MultiQueueTaskManager taskManager,
I18NBeanFactory i18NBeanFactory,
DataSourceFactory dataSourceFactory,
VelocityHelperService velocityHelperService,
MailServerExistsCriteria mailServerExistsCriteria)
sendToEmails
public NotificationSendResult sendToEmails(NotificationData notificationData,
List<String> recipients)
- Specified by:
sendToEmails
in interface EmailService
renderEmail
protected PreRenderedMailNotificationQueueItem renderEmail(PreRenderedMailNotificationQueueItem.Builder builder)
sendToEmail
public NotificationSendResult sendToEmail(NotificationData notificationData,
String emailAddress)
- Specified by:
sendToEmail
in interface EmailService