Simple Send E-mail Workflow

If you want to send e-mails from your ORIGAM application, you can use the MailService directly or you can use a prepared sequential workflow SendEmail (id 6e6d4e02-812a-4c95-afd1-eb2428802e2b).
This workflow allows you to even send multiple attachments easily.

Parameters

subject
Subject of the e-mail.

body
Body of the e-mail. If it starts with <HTML> it will be formatted as an HTML e-mail. Otherwise it will be formatted as a plain text.

senderName
Name that should appear instead of the e-mail address in e-mail clients.

senderEmail
E-mail address of the sender.

recipientEmail
E-mail addresses of the recipients. If there are more addresses, they should be delimited by a semicolon.

attachment
Attachment to be included (blob, e.g. PDF from the Report Service).

attachmentName
File name of the appended attachment.

attachmentEntityId
In case you want the attachment to be retrieved from the database (Attachment entity), specify the entity id.

attachmentRecordId
In case you want the attachment to be retrieved from the database (Attachment entity), pass the record id of a record in the specified entity. All attachments appended to this record will be send with this e-mail message.

1 Like