# Emailed report is blank

**URL:** <https://forum.inductiveautomation.com/t/emailed-report-is-blank/41456>\
**Category:** Ignition\
**Tags:** ignition80, scripting\
**Created:** [December 12, 2020, 12:21am UTC](https://forum.inductiveautomation.com/t/emailed-report-is-blank/41456 "2020-12-12T00:21:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yehet73190](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/yehet73190/32/68157_2.png) [@yehet73190](https://forum.inductiveautomation.com/u/yehet73190)\
**Post date:** [December 12, 2020, 12:21am UTC](https://forum.inductiveautomation.com/t/emailed-report-is-blank/41456/1 "2020-12-12T00:21:15Z")

</div>

I'm trying to send a report via a button click here is my code:

> system.report.executeAndDistribute(path = "Report", action= "email", actionSettings = {"smtpServerName":"Gmail", "[from":"reports@gmail.com](mailto:from%22:%22reports@gmail.com)", "to":["[test@gmail.com](mailto:test@gmail.com)"], "subject":"test"})

I'm receiving the report but the report isn't showing any data. How is that?

---

<div class="post-metadata">

**Author:** ![yehet73190](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/yehet73190/32/68157_2.png) [@yehet73190](https://forum.inductiveautomation.com/u/yehet73190)\
**Post date:** [December 12, 2020, 12:50am UTC](https://forum.inductiveautomation.com/t/emailed-report-is-blank/41456/2 "2020-12-12T00:50:11Z")

</div>

Just to clarify, when emailed all I see are the headers but there is no data even if there is data when viewed on the client

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [December 12, 2020, 1:01am UTC](https://forum.inductiveautomation.com/t/emailed-report-is-blank/41456/3 "2020-12-12T01:01:48Z")

</div>

As a starting point, I would either enable debug mode on the SMTP profile being used to send the report or just capture the SMTP traffic on Wireshark and look to see if the email body is actually being omitted or not.

[https://docs.inductiveautomation.com/display/DOC81/Email+Settings#EmailSettings-SMTPProfileSettings](https://docs.inductiveautomation.com/display/DOC81/Email+Settings#EmailSettings-SMTPProfileSettings)

---

<div class="post-metadata">

**Author:** ![G\_S\_I](https://avatars.discourse-cdn.com/v4/letter/g/7cd45c/32.png) [@G\_S\_I](https://forum.inductiveautomation.com/u/G_S_I)\
**Post date:** [December 20, 2022, 5:10am UTC](https://forum.inductiveautomation.com/t/emailed-report-is-blank/41456/4 "2022-12-20T05:10:18Z")

</div>

Did you find the solution to this?  
I am doing a Run Script action. The PDF of the report gets emailed but no data on it. Just the header followed by \<N/A\> is displayed in the report.
