# 4001 - Send report

4001 - Send report

| Event               | Extension action set  | Description                                          |
| ------------------- | --------------------- | ---------------------------------------------------- |
| [Before ](#before)  | EXT\_4001\_1\_Before  | Will be executed before MSS sends a report by email; |
| [Replace](#replace) | EXT\_4001\_2\_Replace | Will replace MSS send report by email process;       |
| [After](#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”;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.sysdevmobile.com/mss-extensibility/mss-5.1/functions-mss-to-kalipso/email/4001-email-send-report.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
