Skip to main content
March 6, 2023

Send Email With File Saved in Application Database

  • March 6, 2023
  • 1 reply
  • 0 views

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

March 7, 2023

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/6917

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