We have a requirement to send a PDF as an attachemnt to PI through an ECC Proxy. But we have encountered the following error in SXMB_MONI.
File doesnt not begin with '%PDF-'
The PDF Attachement is not opening in MONI.
Attached the code that we used.
Please suggest as to how to overcome the error ASAP.