# Client Connection: SMTP

Fields with the asterisk **\*** are mandatory.

<table><thead><tr><th width="230">Properties</th><th>Description</th></tr></thead><tbody><tr><td><strong>STATUS</strong></td><td><p>Enable or disable the client connection. Possible values:</p><ul><li>Enabled (default)</li><li>Disabled</li></ul></td></tr><tr><td><strong>NAME *</strong></td><td>Name of the SMTP connection you are creating. The maximum number of characters is 128. Blanks and the ' " | special characters are not supported.</td></tr><tr><td><strong>DESCRIPTION</strong></td><td>Description of the SMTP connection you are creating. The maximum number of characters is 2048.</td></tr><tr><td><strong>HOST *</strong></td><td>Remote host IP Address or hostname.</td></tr><tr><td><strong>PORT *</strong></td><td>Port to connect to the remote host (1 to 65535).</td></tr><tr><td><strong>USERNAME</strong></td><td>Username to be used for the connection. The maximum number of characters is 320.</td></tr><tr><td><strong>AUTHENTICATION TYPE *</strong></td><td><p>Select the authentication type that will be used to connect to the SMTP server. Possible values:</p><ul><li>BASIC (default)</li><li>OAUTH2_CLIENT_CREDENTIAL</li></ul></td></tr><tr><td><strong>PASSWORD</strong></td><td><p>Password of the user that will be used to connect to the SMTP server. </p><p>This field appears when <strong>BASIC</strong> is selected in the <strong>Authentication Type</strong> field. </p></td></tr><tr><td><strong>SEARCH CREDENTIAL *</strong></td><td><p>Select the credential that will be used in OAuth2 Authentication. The credentials listed in this drop-down menu are configured in <strong>Setup</strong> → <a href="/pages/5MC2GCVaOvS8Q13TUpKy">Credentials</a>. </p><p>This field appears when <strong>OAUTH2_CLIENT_CREDENTIAL</strong> is selected in the <strong>Authentication Type</strong> field. </p></td></tr><tr><td><strong>MATCH SERVER HOSTNAME</strong></td><td><p>Specify whether the client should verify that the server’s certificate matches the hostname (the <strong>HOST</strong> value) it is connecting to.</p><ul><li><strong>Enabled:</strong> the client checks that the server’s certificate Distinguished Name (DN) includes the IP address or hostname that was contacted.</li><li><strong>Disabled (default):</strong> no hostname verification is performed.</li></ul></td></tr><tr><td><strong>CLIENT KEY LABEL</strong></td><td>Key identifier to create the SSL connection.</td></tr><tr><td><strong>SSL AUTHENTICATION PROTOCOL</strong></td><td><p>Select the SSL authentication protocol:</p><ul><li>ALL</li><li><p>ONLY SPECIFIC VALUES:</p><ul><li>SSLv3</li><li>TLSv1</li><li>TLSv1_1</li><li>TLSv1_2</li><li>TLSv1_3</li></ul></li></ul></td></tr><tr><td><strong>ACCEPTED CIPHER SUITES</strong></td><td><p>Select the cipher suites. Possible values:</p><ul><li>ALL</li><li>ONLY SPECIFIC VALUES. See <a href="/pages/bXblCQPvaPonLHqKDwk2#accepted-cipher-suites">ACCEPTED CIPHER SUITES</a> for details.</li></ul></td></tr><tr><td><strong>SIGN KEY ALIAS</strong></td><td>Select a key to sign the emails.</td></tr><tr><td><strong>CONNECTION SECURITY</strong></td><td><p>Enable a secure connection:</p><ul><li>STARTTLS</li><li>SSL_TLS</li><li>NONE</li></ul></td></tr><tr><td><strong>MAX RETRIES *</strong></td><td>Maximum number of retries. If this field is empty or set to 0, no retries will be executed and the job will be set to Failed if the first attempt is not successful. A high value corresponds to a high number of retrying attempts.</td></tr><tr><td><strong>RETRY INTERVAL</strong></td><td>This field will appear only if you have set the maximum numbers of retries to 1 or greater.<br>Time (in seconds) waited before retrying executing a job. The lower the value, the more frequent the retrying attempts. If this field is empty or set to 0, no retries will be executed and the job will be set to Failed if the first attempt is not successful.</td></tr><tr><td><strong>CONFIGURATION TEST</strong></td><td>Use this section to test that the <strong>Cluster</strong> and the <strong>STENG</strong> are connected correctly. Select a <strong>Cluster</strong> and a <strong>STENG</strong> you want to test and click the <strong>TEST</strong> button. Data One <strong>automatically</strong> selects a <strong>Cluster</strong> and a <strong>STENG</strong> to test the connection. Note that a Cluster will be selected only if it is the only one available.<br>A message with a green check will confirm a successful connection. A message with a red exclamation mark will warn about an unsuccessful connection. The message also details the reason why the connection fails.<br>The connection might not be successful for different reasons, each of them depending on the transport type and the configuration.<br>The first time you try to test the connection, if trusting certificates are missing, an error message detailing the unsuccessful connection will appear. In this case, go to <strong>Setup</strong> → <strong>Untrusted Cache</strong> → <strong>Certificates</strong> tab and trust the relevant certificates.<br>Note that trusting certificates in the Untrusted Cache page may not be sufficient to establish a successful connection. Refer to the <a href="/pages/riYYXT6YPDLkxQCEKrVk">Untrusted Cache</a> section of this documentation for all the details.</td></tr></tbody></table>


---

# 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://docs.primeur.com/data-mover-1.21/transfer-protocols-and-connectors/client-connections/client-connection-smtp.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.
