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 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:
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