---
title: Registering E-mail box
slug: en/registering-e-mail-box
description: Learn how to configure email sending and receiving from multiple servers to meet specific contract requirements. Follow a step-by-step procedure to access mailbox functionality, choose box type, input necessary information, save configurations, and link e
docTags: 
createdAt: 2021-10-27T01:01:51.000Z
---

This functionality is designed to <font color="#3b9f0f">**configure the sending and receiving of e-mails from different servers**</font> in order to meet different contracts, so a <font color="#3b9f0f">**CITSmart** </font>can serve different clients and each one will have its own mailbox.&#x20;

In this case, you can use a send/read e-mail account (e.g.: [email@company.com](mailto\:email@company.com)) on an XPTO company contract, and another e-mail account belonging to a different business agreement (e.g.: [email@company2.com](mailto\:email@company2.com)).

## Procedure

1. Access the functionality through the main menu `Parametrization > Mailbox`;
2. Click on "**New**";
3. Choose the type of box. If you opt for the type "**Input**" (it means that the   &#x20;user will parameterize a route where the e-mails that need to be read will   &#x20;arrive), it will open new registration fields, such as server, server port,   &#x20;user (e-mail address), password, provider, and inbox folder, therefore it is   &#x20;necessary to fill in the fields;
4. If you opt for the type "**Output**" (it means that the user will parameterize the route where the e-mails that need to be sent from the system will exit),   &#x20;it will open new registration fields, such as server, server port, user,   &#x20;password, sender, set whether TSL/SSL authentication is required (both are   &#x20;security protocols) and user authentication is, therefore, necessary to fill   &#x20;in the fields;
5. Click on "**Save**";
6. Link the e-mail box to the contract. To do so: Access the functionality   &#x20;`Processes > Portfolio and Catalog Management > Contract` and link the   &#x20;previously registered email box in the "**E-mail**" field and click on "**Save**";
7. Link the e-mail box to a flow. Therefore:
   - Access the functionality `System > Flow Maintenance` and when     &#x20;registering/editing a flow, find in the "**Diagram**" filed the     &#x20;figure representing an e-mail in the flow and click on edit;
   - In the "Configure outbox e-mail" option, opened when clicking on the "**Message**" tab     , select the "**Specific**" option to use the mailbox configured in     &#x20;the contract;
   - Complete the flow parametrization, including the selected "**Recipients**";
   - The use of different e-mail outboxes can be noticed after a service request     &#x20;is opened, which has parameterized the flow that has the selected     &#x20;mailbox.
   - Click on "**Save**".

:::hint{type="info"}
🖊 <u>**Note**</u>**:&#x20;**&#x4C;inking to the mailbox is not a required step. This functionality will&#x20;only be necessary when registering the flow, the user feels the need to&#x20;direct the email to an output box different from the default. The system's&#x20;default e-mail outbox will continue to function even if this setting is not&#x20;done.
:::

