How to send a xml file in email as attachment in Pega
hi team,
I have a requirement where its required to generate the XML file and send it over email as an attachment.
we are doing property-set-xml and then connect file to place file in 1 location and then i am using "SendEmailWithAttachment" Activity , but its failing in the java step - Can't continue with file upload. File \"" + strFileName + "\" is unreadable. The same approach works for a csv file to send over email, by using the same activity - SendEmailWithAttachment , but not for XML Can you kindly suggest what can be the approach to send xml file over email as attachment. ?
thanks,
ritika