Package | Description |
---|---|
net.datenwerke.rs.core.service.mail |
Modifier and Type | Method and Description |
---|---|
MailBuilder |
MailBuilderFactory.create(java.lang.String subject,
java.lang.String body,
java.util.List<User> recipients,
InternetAddress from) |
MailBuilder |
MailBuilder.withAttachments(java.util.List<SimpleAttachment> attachments)
Adds a list of attachments.
|
MailBuilder |
MailBuilder.withEmailDatasink(EmailDatasink emailDatasink)
Specifies that the given
EmailDatasink should be used instead of the
default (internal) email settings. |
MailBuilder |
MailBuilder.withFileAttachments(java.util.List<java.nio.file.Path> attachments)
Adds a list of files as email attachments.
|
MailBuilder |
MailBuilder.withTemplateReplacements(java.util.Map<java.lang.String,java.lang.Object> replacements)
Specifies that the email contains a template and specifies which replacements
should be used for template substitution.
|
MailBuilder |
MailBuilder.withZippedAttachments(java.lang.String zipFilename)
Specifies that the attachments should be zipped using the provided filename.
|