Generating Password protected Excel File to attach in mail
Hi All,
As per the requirement, we have to share a report in mail with Excel attachment in password protected mode in Pega 7.2.2
Already MSOGenerateExcelFile activity is customised and able to share the excel as attachment via mail.
Need help to protect the excel. I am stuck at passing while opening excel file
Reference : https://poi.apache.org/encryption.html.
Have updated the code to eliminate compiler errors. But getting Runtime error :
java.lang.IllegalStateException: Zip File is closed