# Send Reports by Email

**URL:** <https://forum.inductiveautomation.com/t/send-reports-by-email/27746>\
**Category:** Ignition\
**Created:** [August 25, 2019, 4:27am UTC](https://forum.inductiveautomation.com/t/send-reports-by-email/27746 "2019-08-25T04:27:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dang-nh](https://avatars.discourse-cdn.com/v4/letter/d/ecc23a/32.png) [@dang-nh](https://forum.inductiveautomation.com/u/dang-nh)\
**Post date:** [August 25, 2019, 4:27am UTC](https://forum.inductiveautomation.com/t/send-reports-by-email/27746/1 "2019-08-25T04:27:32Z")

</div>

Hi Everyone,  
I have problem,  
How can i put 5 Reports in one place using one email to send away?  
When i receive Email it look like that, 5 reports will send one by one…  
thanks a lots,

 ![Capture10](https://us1.discourse-cdn.com/inductiveautomation/original/2X/4/4f162ae55e76dd060168fdae5bc12c6846b18bdb.png)

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [August 26, 2019, 2:13pm UTC](https://forum.inductiveautomation.com/t/send-reports-by-email/27746/2 "2019-08-26T14:13:55Z")

</div>

Each report executes and delivers on its own, independent of other reports.

To send them attached to a single email, you need to use [system.report.executeReport](https://docs.inductiveautomation.com/display/DOC80/system.report.executeReport) to get each report, then use [system.net.sendEmail](https://docs.inductiveautomation.com/display/DOC80/system.net.sendEmail) and attach all the reports.

---

<div class="post-metadata">

**Author:** ![dang-nh](https://avatars.discourse-cdn.com/v4/letter/d/ecc23a/32.png) [@dang-nh](https://forum.inductiveautomation.com/u/dang-nh)\
**Post date:** [August 28, 2019, 2:12am UTC](https://forum.inductiveautomation.com/t/send-reports-by-email/27746/3 "2019-08-28T02:12:42Z")

</div>

Sorry to ask that, where can i write this expresstion, and you can show me that expresstion function

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [August 28, 2019, 2:11pm UTC](https://forum.inductiveautomation.com/t/send-reports-by-email/27746/4 "2019-08-28T14:11:13Z")

</div>

These are scripting functions, not expression functions.

If you follow the links, you can see examples of how to use these scripting functions (scroll to the bottom of the docs for the examples).

To see how to run a script from an expression function, check out the [runScript()](https://docs.inductiveautomation.com/display/DOC80/runScript) expression.

---

<div class="post-metadata">

**Author:** ![dang-nh](https://avatars.discourse-cdn.com/v4/letter/d/ecc23a/32.png) [@dang-nh](https://forum.inductiveautomation.com/u/dang-nh)\
**Post date:** [August 28, 2019, 3:40pm UTC](https://forum.inductiveautomation.com/t/send-reports-by-email/27746/5 "2019-08-28T15:40:03Z")

</div>

Thank you so much, i will try my best, any last advice for me…
