Send Email With File Saved in Application Database

dan
New Contributor II

Hello, Is it possible to create a business rule that sends an email with an attachment where the file that is being attached is saved in the application database rather than the file share?

1 REPLY 1

NicolasArgente
Valued Contributor

Hi Dan,
For sure it is possible. I would like to point at you to this code : https://community.onestreamsoftware.com/t5/Accepted-Code-Samples/Extender-User-Inactivity-Email/ta-p...

Note that this code has a option for attachements. It using the default "OneStreamEmail" config. If you are on Prem, you might have a different one. 
An alternative could be to use directly an SMTP service in the business rule. But it is not recommended if you are on cloud, better use the default one 🙂
Hope it helps,

Nic

 

Connect with me on:
LinkedIn: https://www.linkedin.com/in/nicolas-argente/
Website: https://aiqos.io
If you want to lift yourself up, lift up someone else.