IBM Support

Sending an xml file as an attachment using the ‘Send Email’ activity

Question & Answer


Question

How do I send an xml file as an attachment using the ‘Send Email’ activity?

Answer

Within the orchestration, add the ‘Write MIME’ activity before the ‘Send Email’ activity. In the map input section of the 'Write MIME' activity, specify the default values of the below listed nodes:

mainType = text
subtype = plain
contentTransferEncoding = 7bit

Test the orchestration and verify the attachment is received by the email client.

[{"Product":{"code":"SSGR73","label":"IBM Cast Iron Cloud Integration"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Not Applicable","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"6.1.0.3;6.1;6.0.0.3;6.0.0;5.0.1.7","Edition":"Virtual;Physical;Cloud","Line of Business":{"code":"LOB45","label":"Automation"}}]

Historical Number

00001045

Product Synonym

Cast Iron Solution;Cast Iron Operating System;Cast Iron Studio

Document Information

Modified date:
15 June 2018

UID

swg21453537