# Report Execute & Distribute

**URL:** <https://forum.inductiveautomation.com/t/report-execute-distribute/69278>\
**Category:** Ignition\
**Tags:** ignition81, python, ignition80, scripting, perspective\
**Created:** [February 1, 2023, 2:44pm UTC](https://forum.inductiveautomation.com/t/report-execute-distribute/69278 "2023-02-01T14:44:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gaurav.Shitole](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/gaurav.shitole/32/72050_2.png) [@Gaurav.Shitole](https://forum.inductiveautomation.com/u/Gaurav.Shitole)\
**Post date:** [February 1, 2023, 2:44pm UTC](https://forum.inductiveautomation.com/t/report-execute-distribute/69278/1 "2023-02-01T14:44:07Z")

</div>

Hello,

I am using report.ExecuteAndDistribute function to send a report over an email on demand. But sometimes the Mail gets sent and sometimes it does not (which I am guessing is due to attachment file size).  
However when it does not work, its not returning anything as its failed to email or anything. I only get warnings in Gateway Log as below:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/5/254d7d62bdf0ff49abe982635e4cf8b13a7281ca.png)

Please suggest how can I show some warnings on this

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 1, 2023, 3:02pm UTC](https://forum.inductiveautomation.com/t/report-execute-distribute/69278/2 "2023-02-01T15:02:29Z")

</div>

I don't think you can, as email is asynchronous. That trace looks like the receiving email server for the recipient is cutting off message delivery in progress. This is common when spam filters or size constraints are imposed by the recipient. There's no path for the bounce in this case. Though, I suppose you could create a real email account for Ignition and have Ignition submit like a client. Then the email account can be checked for bounce messages.

---

<div class="post-metadata">

**Author:** ![Gaurav.Shitole](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/gaurav.shitole/32/72050_2.png) [@Gaurav.Shitole](https://forum.inductiveautomation.com/u/Gaurav.Shitole)\
**Post date:** [February 1, 2023, 3:10pm UTC](https://forum.inductiveautomation.com/t/report-execute-distribute/69278/3 "2023-02-01T15:10:21Z")

</div>

Okay @pturmel thanks for clarification
