Email - add file as attachment

Description - Adds an attachment from the contents of a file

Runtime Class - com.ibi.agents.XDAddAttachmentFromFileAgent



Parameter Groups

 ParameterTypeDescription
*File Name:stringFile Path to the attachment.
* - denotes required
 ParameterTypeDescription
Attachment Name:stringName of the attachment as seen in the email.
*Content-Type:stringValue of the Content-Type MIME Header

Select from one of the following options:
  • application/csv
  • application/json
  • application/pdf
  • application/x-compressed
  • application/xml
  • application/zip
  • binary/octet-stream
  • image/gif
  • image/jpg
  • image/png
  • multipart/x-zip
  • text/css
  • text/csv
  • text/html
  • text/javascript
  • text/json
  • text/plain
  • text/xhtml
  • text/xml
* - denotes required
 ParameterTypeDescription
Content-Transfer-Encoding:stringValue of the Content-Transfer-Encoding MIME Header

Select from one of the following options:
  • base64 - Specify content-transfer-encoding as base64
  • binary - Specify content-transfer-encoding as binary
Content-Description:stringValue of the Content-Description MIME Header
Content-Disposition:stringValue of the Content-Disposition MIME Header

Select from one of the following options:
  • attachment; filename=Attachment_File_Name;
Content-ID:stringValue of the Content-ID MIME Header
* - denotes required
 ParameterTypeDescription
Set MIME Headers:stringName of register which is used to add additional MIME headers for the attachment.
* - denotes required

Output Events

NameDescription
OnParseErrorCould not parse a document.