# Configuring SMTP Settings

The **Global SMTP Service** is an optional service that replaces any email server service installed on the host operating system.

{% hint style="warning" %}
**Note**: This service currently only supports inbound (journal) mail – mail coming into **Cryoserver** server. It cannot yet be used to route outbound mail.
{% endhint %}

### 1. Setting SMTP Settings

1. Navigate to **Adv Configuration** > **Global SMTP Service**.
2. Enter / Select the required values in the fields. Refer to the table below for field names and descriptions.
3. Click the **Save** button.

| Field                        | Description                                                                               |
| ---------------------------- | ----------------------------------------------------------------------------------------- |
| **Receive mail for domain**  | Domain the mails sent to which will be accepted by the **Cryoserver** server.             |
| **Additional Email Domains** | Additional domains the mails sent to which will be accepted by the **Cryoserver** server. |
| **Encryption Type**          | Encryption type to be used for emails.                                                    |
| **Port**                     | Port number used for receiving emails.                                                    |
| **Add Company Header**       | Specifies whether or not company header should be added.                                  |
| **Critical Free Space**      | Space below which the SMTP server will stop accepting emails.                             |
| **Check Frequency**          | Interval, in minutes, after which the critical free space should be checked.              |

### 2. Setting Network Ranges

1. Scroll down to "Net Ranges"
2. Enter / Select the required values in the fields. Refer to the table below for field names and descriptions.
3. Click "Save"

| Field                                                                         | Description                                                                                  |
| ----------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
| **The following Mail Server IP addresses are registered for recieving mails** | List of mail server IP addresses that are registered to receive emails.                      |
| **From**                                                                      | Starting IP address of the network range within which email collection is enabled.           |
| **To**                                                                        | Ending IP address of the network range within which email collection is enabled.             |
| **Restrict access to network range connections?**                             | Specifies whether or not access is allowed only for registered IP addresses for the company. |


---

# 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://help.cryoserver.com/advanced-configuration/configuring-smtp-settings.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.
