Package io.datarouter.email.email
Class EmailService
java.lang.Object
io.datarouter.email.email.EmailService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.voidsendAndGetMessageId(String fromEmail, Collection<String> toEmails, Collection<String> replyToEmails, String subject, String body, boolean html, Map<String, String> headers, List<DatarouterEmailFileAttachmentDto> fileAttachmentDtos) voidDeprecated.voidDeprecated.voidvoid
-
Constructor Details
-
EmailService
public EmailService()
-
-
Method Details
-
trySend
Deprecated. -
trySend
-
trySend
@Deprecated public void trySend(String fromEmail, String toEmails, String subject, String body, boolean html) Deprecated. -
trySend
public void trySend(String fromEmail, Collection<String> toEmails, String subject, String body, boolean html) -
send
@Deprecated public void send(String fromEmail, String toEmails, String subject, String body, boolean html) throws javax.mail.MessagingException Deprecated.- Throws:
javax.mail.MessagingException
-
send
public void send(String fromEmail, Collection<String> toEmails, String subject, String body, boolean html) throws javax.mail.MessagingException - Throws:
javax.mail.MessagingException
-
sendAndGetMessageId
public Optional<String> sendAndGetMessageId(String fromEmail, Collection<String> toEmails, Collection<String> replyToEmails, String subject, String body, boolean html, Map<String, String> headers, List<DatarouterEmailFileAttachmentDto> fileAttachmentDtos) throws javax.mail.MessagingException- Throws:
javax.mail.MessagingException
-