Email (Custom) OPA - Send email with attachment action ​

The Send email with attachment action sends an email with one or more attachments using the SMTP protocol through your on-prem agent extension.

Input ​

Input fieldDescription
FromEnter the sender's email address.
ToEnter the recipients of the email.
Email (To)Enter the recipient's email address.
CCOptional. Enter the recipients to include as CC. CC recipients see all recipients in To and CC.
BCCOptional. Enter the recipients to include as BCC. BCC recipients are hidden from other recipients.
SubjectEnter the subject of the email.
Body typeSelect whether the email body contains plain text or HTML content. Defaults to Plain text.
BodyEnter the email body content. Use HTML tags if Body type is HTML.
AttachmentsOptional. Enter the files to attach to the email.
File name (Attachments)Enter the attachment's file name.
File content (Attachments)Enter the attachment's content. File contents must be base64 encoded.

Output ​

Output fieldDescription
ResultA message confirming the email was sent, for example Email with attachment(s) sent successfully.

Last updated: