URL to attachment

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:

 

NG2WorkflowURLtoAttachment0001

 

URL

The URL of the file to attach. This can be either a constant or an XPath expression.

 

Attachment name

The name to use for the attachment (optional). This can be either a constant or an XPath expression. 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.

 

Mime type

Here you can set a specific mime type for the attachment, so that the receiver can identify the file type. This is optional. Most often the extension of the attachment name should be enough to identify the mime type. Examples of mime types are listed here: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types

    Notice: Help Center Transition Update

    As of January 13, 2025, we are excited to announce that our new Help Center is in the final stages of development. While the Knowledge Base is already accessible, our current JIRA system will continue to manage support tickets during this transition period. For assistance with InterForm Output Management Software, please refer to the Support for InterForm Output Management Software.

    We appreciate your patience and understanding as we work to enhance your support experience. If you have any questions or encounter any issues, please do not hesitate to reach out via the existing support channels.

    Best regards,
    The InterForm Support Team


      • Related Articles

      • 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 ...
      • 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 ...
      • Resource to attachment

        You can attach any file from the NG2 resources as an attachment to an email with the workflow component, Resource to attachment. The email can later e.g. be emailed or saved with this resource with either of the components, Create PDF email or Create ...
      • Rename attachment

        You can rename an attachment in the workflow before the attachment is added in an email with the advanced email tool component, Rename attachment. The component has these parameters: Current attachment name This is the existing attachment, that has ...