Class DefaultEmailService
java.lang.Object
com.atlassian.confluence.user.notifications.DefaultEmailService
- All Implemented Interfaces:
EmailService
@Deprecated(forRemoval=true,
since="9.4")
public class DefaultEmailService
extends Object
implements EmailService
Deprecated, for removal: This API element is subject to removal in a future version.
since 9.4
Sends emails to email addresses, rather than users.
- Since:
- 4.2.4
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultEmailService(com.atlassian.core.task.MultiQueueTaskManager taskManager, I18NBeanFactory i18NBeanFactory, DataSourceFactory dataSourceFactory, VelocityHelperService velocityHelperService, MailServerExistsCriteria mailServerExistsCriteria) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected PreRenderedMailNotificationQueueItemDeprecated, for removal: This API element is subject to removal in a future version.sendToEmail(NotificationData notificationData, String emailAddress) Deprecated, for removal: This API element is subject to removal in a future version.sendToEmails(NotificationData notificationData, List<String> recipients) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
DefaultEmailService
public DefaultEmailService(com.atlassian.core.task.MultiQueueTaskManager taskManager, I18NBeanFactory i18NBeanFactory, DataSourceFactory dataSourceFactory, VelocityHelperService velocityHelperService, MailServerExistsCriteria mailServerExistsCriteria) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
sendToEmails
public NotificationSendResult sendToEmails(NotificationData notificationData, List<String> recipients) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
sendToEmailsin interfaceEmailService
-
renderEmail
protected PreRenderedMailNotificationQueueItem renderEmail(PreRenderedMailNotificationQueueItem.Builder builder) Deprecated, for removal: This API element is subject to removal in a future version. -
sendToEmail
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
sendToEmailin interfaceEmailService
-