> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# NetServer Mail element (SuperOffice only)

> NetServer Mail component configuration options.

Configuration of mail parameters when using the SuperOffice Inbox. This is also the one used by Pocket CRM.

```XML theme={null}
<Mail>
  <Component>
    <add key="Reader" value="MailKit" />
    <add key="Sender" value="MailKit" />
    <add key="NumberOfDaysToDownload" value="30" />
  </Component>
</Mail>
```

## Component

| Name                   | Description                               | Default |
| ---------------------- | ----------------------------------------- | ------- |
| NumberOfDaysToDownload | Initial number of days to fetch mail for. | 180     |
| Reader                 | The Key used for mail reader.             | MailKit |
| Sender                 | The Key used for mail sender.             | MailKit |

<Note>
  [MailKit][2] has been the default sender and reader since version 8.1. It used to be EasyMail.
</Note>

See the [NetServer Core reference][1] for details about handling this programmatically.

[1]: https://github.com/SuperOfficeDocs/superoffice-docs/blob/main/docs/en/api/reference/netserver/core/SuperOffice.Configuration.ConfigFile.Mail.yml

[2]: ../../../en/email/inbox/learn/index


## Related topics

- [NetServer Cloud element (SuperOffice only)](/en/onsite/web-config/cloud.md)
- [NetServer Pocket element (SuperOffice only)](/en/onsite/web-config/pocket.md)
- [NetServer Downloads element (SuperOffice only)](/en/onsite/web-config/downloads.md)
- [NetServer Client element (SuperOffice only)](/en/onsite/web-config/client.md)
- [NetServer Sync element (legacy SuperOffice only)](/en/onsite/web-config/sync.md)
- [NetServer SuperId element (SuperOffice only)](/en/onsite/web-config/superid.md)
