# SMTPConnectionParameters

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Enums](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.SMTPConnectionParameters/

View type enumeration.

- **Full name:** `MFiles.SMTPConnectionParameters`
- **Proto file:** [`mfiles/enums.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/enums.proto)

<a id="values"></a>

## Values

| Name | Number | Description |
|---|---|---|
| <a id="v-SMTPCONNECTION_PARAMETERS_STANDARD"></a>`SMTPCONNECTION_PARAMETERS_STANDARD` | 0 | Standard SMTP, no authentication or encryption extensions. |
| <a id="v-SMTPCONNECTION_PARAMETERS_AUTHENTICATION_PLAIN"></a>`SMTPCONNECTION_PARAMETERS_AUTHENTICATION_PLAIN` | 1 | ESMTP authentication: plain text. |
| <a id="v-SMTPCONNECTION_PARAMETERS_AUTHENTICATION_LOGIN"></a>`SMTPCONNECTION_PARAMETERS_AUTHENTICATION_LOGIN` | 2 | ESMTP authentication: AUTH-LOGIN (Base64-coded password). |
| <a id="v-SMTPCONNECTION_PARAMETERS_AUTHENTICATION_CRAM_MD5"></a>`SMTPCONNECTION_PARAMETERS_AUTHENTICATION_CRAM_MD5` | 4 | ESMTP authentication: CRAM-MD5. |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCServerAdmin.GetNotificationSettings](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCServerAdmin/GetNotificationSettings/index.md): Gets the server's notification settings and mail-sending configuration (without the SMTP password).
- [IRPCServerAdmin.SetNotificationSettings](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCServerAdmin/SetNotificationSettings/index.md): Sets the server's notification settings: whether notifications are on, the daily digest time, and the SMTP or OAuth 2.0 mail settings used to send them.

<a id="used-in-fields"></a>

## Used in fields

- [`SetNotificationSettingsRequest.smtp_connection_parameters`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCServerAdmin/SetNotificationSettings/index.md#request): Parameters for SMTP connection.
- [`GetNotificationSettingsResponse.smtp_connection_parameters`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCServerAdmin/GetNotificationSettings/index.md#response): Parameters for SMTP connection.
