Unable to use Stream Reader Methods/ File Methods in BPM

Does anyone know a way to send a file attachment through email in the Cloud? Although the code is working in On-Prem Server Instances, the same gives an error in 11.2.400 Cloud Instance

In the Cloud (and honestly, even on prem), you should only write to the EpicorData folder. See @klincecum’s example here: