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 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, MailContentProcessor mailContentProcessor)
           
 
Method Summary
 NotificationSendResult sendToEmail(NotificationData notificationData, String emailAddress)
           
 NotificationSendResult sendToEmails(NotificationData notificationData, List<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,
                           MailContentProcessor mailContentProcessor)
Method Detail

sendToEmails

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

sendToEmail

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


Copyright © 2003-2013 Atlassian. All Rights Reserved.