# 4001 - Send report

> MSS documentation · https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/email/4001-email-send-report
>
> Eventos EXT_4001 Before/Replace/After no envio de um relatório por email, com a descrição, o nome do relatório e o nome do ficheiro.

4001 - Send report

| Event                                        | Extension action set  | Description                                          |
| -------------------------------------------- | --------------------- | ---------------------------------------------------- |
| [Before ](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/email/4001-email-send-report.md#before)  | EXT\_4001\_1\_Before  | Will be executed before MSS sends a report by email; |
| [Replace](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/email/4001-email-send-report.md#replace) | EXT\_4001\_2\_Replace | Will replace MSS send report by email process;       |
| [After](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/email/4001-email-send-report.md#after)     | EXT\_4001\_3\_After   | Will be executed after sending a report by email;    |

### Before

_Input Parameters_

* inDescription – Description created by MSS to send the report, ex. “Sending report List of Sales”;
* inReportName – Name of the report, ex. “List of Sales”;
* inReportFile – Name of the report file, ex. “ListofSales.txt”;

### Replace

_Input Parameters_

* inDescription – Description created by MSS to send the report, ex. “Sending report List of Sales”;
* inReportName – Name of the report, ex. “List of Sales”;
* inReportFile – Name of the report file, ex. “ListofSales.txt”;

### After

_Input Parameters_

* inDescription – Description created by MSS to send the report, ex. “Sending report List of Sales”;
* inReportName – Name of the report, ex. “List of Sales”;
* inReportFile – Name of the report file, ex. “ListofSales.txt”;
