Package service.email
Class EmailServiceImpl
java.lang.Object
service.email.EmailServiceImpl
- All Implemented Interfaces:
EmailService
@Service
@Conditional(BpmnEnabledCondition.class)
public class EmailServiceImpl
extends Object
implements EmailService
Sends emails and returns completable futures to wait for.
Message preparation was largely moved there from EmailHandler in refactoring process.
- Author:
- ivanov.denis
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<AttachmentModel>
getAttachmentModels
(Attachment[] attachments) void
sendEmail
(EmailSettings emailSettings) void
sendEmail
(EmailSettings settings, SmtpConfiguration configuration, EmailListener[] listeners)
-
Constructor Details
-
EmailServiceImpl
public EmailServiceImpl()
-
-
Method Details
-
sendEmail
public void sendEmail(EmailSettings settings, SmtpConfiguration configuration, EmailListener[] listeners) - Specified by:
sendEmail
in interfaceEmailService
-
sendEmail
- Specified by:
sendEmail
in interfaceEmailService
-
getAttachmentModels
-