Sahul Member since 2017 12 posts
Posted: 2 months ago
Last activity: 2 months 3 weeks ago

How to Send XML string as email attachment

Hi All,

We are using Pega 7.3.1. We are generating XML file in activity and storing in a share folder using connect-file. This logic is already implemented and working fine.

Before writing the XML file into the shared folder, complete XML string is stored in a String local variable.

I would like to email this XML string as attachment to my email ID.

I am able to send this XML string as message body but not able to send as attachment.

Can someone help me how can we achieve this?

Pega Platform 7.3.1 Case Management Lead System Architect Senior System Architect
Share this page LinkedIn