Product: TIBCO Spotfire®
Image files attached with the "Send Email" TIBCO Spotfire Automation Services task have incorrect file extension and name in received email
The "Send Email" task in TIBCO Spotfire Automation Services has an option to attach files in the "Attached files" option, which can be used to attach image files like .png, .pdf, .jpg etc. This is often used in combination with the "Export Image" task where an image is saved to disk. After clicking "Add..." button in the "Attached files:" section, and selecting the file to attach to the email, you provide the "Title of attachment" where you give a proper name like "Example.png":
This is caused by a defect in TIBCO Spotfire Automation Services. Currently, the only option is to use the following workaround:
- Rename the actual image file to have a .xlsx file extention. For example, rename the actual file on disk from "Example.png" to "Example.xlsx"
- In the "Attach Files" dialog, click "Add..." and enter the path to the file in the "Select file to attach to email" section. For example: "\\myserver\myshare\Example.xlsx"
- In the "Title of Attachment" enter the correct file extension. For example: "Example.png"
Doc: Export Image