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?