public interface MailService
Sends mails in the context of a given work object and an optional execution context of a process.
Modifier and Type | Method and Description |
---|---|
void |
sendWorkObjectMailsWithAdditionalMappings(com.edorasware.commons.core.any.AnyWorkObject workObject,
org.flowable.engine.delegate.DelegateExecution execution,
String recipientExpression,
String replyToExpression,
String ccExpression,
String bccExpression,
String priorityExpression,
Map<String,String> headers,
String mailModelExpression,
Map<String,?> additionalMappings,
Collection<String> attachmentVars)
Sends mails using the given properties and a map with additional value mappings.
|
void sendWorkObjectMailsWithAdditionalMappings(com.edorasware.commons.core.any.AnyWorkObject workObject, org.flowable.engine.delegate.DelegateExecution execution, String recipientExpression, String replyToExpression, String ccExpression, String bccExpression, String priorityExpression, Map<String,String> headers, String mailModelExpression, Map<String,?> additionalMappings, Collection<String> attachmentVars)
Sends mails using the given properties and a map with additional value mappings.
workObject
- the work objectexecution
- the optional execution context from a process instance (e.g. used for multi-instance mail service tasks)recipientExpression
- the recipient expressionreplyToExpression
- the replyTo address expressionccExpression
- the Cc recipient expressionbccExpression
- the Bcc recipient expressionpriorityExpression
- the priority expressionheaders
- additional mail headersmailModelExpression
- the mail model key/model id or a back end expression which resolves to these valuesadditionalMappings
- the additional mappingsattachmentVars
- collection of attachment variables (send as attachment)Copyright © 2010 - 2018 edorasware ag. All Rights Reserved.