Set attachment name

Set attachment name

The advanced set meta data workflow component, Set attachment name sets the name of the attachment for the next email(s) in the current workflow. This can be used with these workflow components e.g. to add an extra attachment to an email:

File to attachment, From file to attachmentFrom variable to attachmentPayload to attachmentPayload to first attachmentResource to attachmentURL to attachmentRename attachment.

 

The Set attachment name component has this parameter:

 

NG2WorkflowSetAttachmentName0001

 

Attachment name

The name of the file, that is attached to the email(s), that are sent from the current workflow. You can press the T-icon on the right to change the input field to an XPath expression and insert a dynamic attachment name.

 

If you see an attachment name when you receive the email like this:

 

NG2AttachmentName_Illegal0001

 

Then you are probably using an invalid characters in the attachment name. There is no standard as to which characters, that are allowed so you need to test for invalid characters and e.g. replace characters not found in the lists: a-z, A-Z and 0-9. On one mail server the dash (minus) character caused such an attachment name.

    • Related Articles

    • Payload to attachment

      With the Payload to attachment component you can set the payload of the workflow to be the contents of the email attachment. The name of the attachment is set in the workflow component, Set attachment name, which you should insert first in the ...
    • Payload to first attachment

      With the Payload to first attachment component you can copy the payload of the workflow to be the contents of the first email attachment. The name of the attachment is set in the workflow component, Set attachment name, which should be set before ...
    • Set output file name

      The advanced set meta data workflow component, Set output file name, sets the output file name for the next write(s) to the file system. The Set output file name component has this parameter: Output file name The name of the file, that is written to ...
    • Advanced Set meta data workflow components

      The advanced set meta data workflow components are: 1.Email details. Sets various email meta data like subject, receivers and sender. 2.Extra PCL commands. With this you can add your own PCL commands in the PCL output from InterFormNG2 e.g. for tray ...
    • URL to attachment

      Retrieve a file via a URL and set this to be the attachment of the email, that is later sent. The URL to attachment components has these parameters: URL The URL of the file to attach. This can be either a constant or an XPath expression. Attachment ...