> For the complete documentation index, see [llms.txt](https://doc.sysdevmobile.com/mss-extensibility/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.sysdevmobile.com/mss-extensibility/mss-5.1/functions-kalipso-to-mss/email/ext_email_sendcurrentaccount.md).

# EXT\_Email\_SendCurrentAccount

Function to ask MSS to send the customer current account by email.

*Input parameters:*&#x20;

* inCustomerCode – Code of the customer;&#x20;
* inDescription – Text to fill the subject of the email (can be empty, MSS will use a default text);&#x20;
* inReportFile – Name of the layout file to be used;&#x20;
* inSendToEmail – Only used to override the email from the customer (CLIEML);&#x20;
* inMessage – Text to fill the email message;

*Output parameters:*&#x20;

* outResultCode – Return code: 0 – Done / < 0 Error or user cancelled;
