com.atlassian.confluence.user.notifications
Class DefaultEmailService

java.lang.Object
  extended by com.atlassian.confluence.user.notifications.DefaultEmailService
All Implemented Interfaces:
EmailService

public class DefaultEmailService
extends java.lang.Object
implements EmailService

Sends emails to email addresses, rather than users.

Since:
v4.2.4

Constructor Summary
DefaultEmailService(com.atlassian.core.task.MultiQueueTaskManager taskManager, I18NBeanFactory i18NBeanFactory, DataSourceFactory dataSourceFactory, VelocityHelperService velocityHelperService, MailServerExistsCriteria mailServerExistsCriteria)
           
 
Method Summary
protected  PreRenderedMailNotificationQueueItem renderEmail(PreRenderedMailNotificationQueueItem.Builder builder)
           
 NotificationSendResult sendToEmail(NotificationData notificationData, java.lang.String emailAddress)
           
 NotificationSendResult sendToEmails(NotificationData notificationData, java.util.List<java.lang.String> recipients)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultEmailService

public DefaultEmailService(com.atlassian.core.task.MultiQueueTaskManager taskManager,
                           I18NBeanFactory i18NBeanFactory,
                           DataSourceFactory dataSourceFactory,
                           VelocityHelperService velocityHelperService,
                           MailServerExistsCriteria mailServerExistsCriteria)
Method Detail

sendToEmails

public NotificationSendResult sendToEmails(NotificationData notificationData,
                                           java.util.List<java.lang.String> recipients)
Specified by:
sendToEmails in interface EmailService

renderEmail

protected PreRenderedMailNotificationQueueItem renderEmail(PreRenderedMailNotificationQueueItem.Builder builder)

sendToEmail

public NotificationSendResult sendToEmail(NotificationData notificationData,
                                          java.lang.String emailAddress)
Specified by:
sendToEmail in interface EmailService


Copyright © 2003-2014 Atlassian. All Rights Reserved.