---
url: >-
  /statelake/administering-statelake/designer/transports/outbound-transports/smtp-outbound.md
---

# SMTP (outbound)

**SMTP** is an acronym for **Simple Mail Transfer Protocol**, and is a communication protocol used for sending and receiving email messages over the Internet.

An **SMTP Transport** is used to connect to a **SMTP** service over the internet or local network, to enable the sending of files to the remote **SMTP** service.

You configure the **SMTP Transport** with the appropriate details to allow you to do this.

The **SMTP Transport** can connect to either clear text **SMTP** services, or **SSL** secured **SMTP** services.

The **SMTP** server settings are configured in **General Setup**.

The details configured on the **SMTP Transport** are necessary to know where to send the email.

## Fields

| Field Name | Description |
|---|---|
| Description | A friendly name for the **SMTP Transport**. This is the name that the **Transport** will be known as throughout the configuration. You should enter something meaningful to help you recognise the **Transport**. |
| Email Address | The email address to send the files to. You can enter multiple email addresses separated with a comma. |
| CC | Stands for **carbon copy**. The email address for a copy of the email being sent. |
| BCC | Stands for **blind carbon copy**. The email address for a copy of the email being sent, where the recipient email address is kept hidden. |
| Subject | The subject line for the email. |
| Sender Email | The email address of the sender. |
| Sender Display name | The name of the sender to be displayed. |
| SMTP Server |   |
| Port | Thee port that the **SMTP** server is listening on. |
| SSL Method Type |   |
| OAuth 2.0 | Tick this button to configure OAuth 2.0. |
| User Name | The user name for connection to the **SMTP** server. This field can be left blank. |
| User Password | The password for the above user. This field can be left blank. |
| Show characters | The password appears as asterisks. Tick to see the entered password. |
| Request Read Receipt | Select to have a read receipt returned when you email is opened. Requires the recipient email system to allow read receipts. |
| Send attachment as body of email | Select to embed the file contents as the body of the email, instead of as an attachment. |

## Buttons

| Button Name | Description |
|---|---|
| Save | Click to **Save** any changes you have made. All changes will be lost if you do not click the **Save** button |
| Cancel | Click to **Cancel** any changes you have made |
| Delete | Click to **Delete** this transport. You will be asked to confirm your choice. |
| Test Transport | Click to test the connection to the remote **SMTP** service. You need to select the **File Connection** that will be used to find a file for sending. This is a live test and will cause the transport to run and send the first file that exists in the **File Connection** that match the *File Search Pattern*. |
| Configure OAuth 2.0 | This button will only be active if **OAuth 2.0** check box is ticked. For information regarding this button and the **OAuth 2.0** settings, please refer to [Configure OAuth 2.0 (Email Settings)](/statelake/administering-statelake/designer/global-setup/general-setup/email-settings-tab-general-setup/configure-oauth-2.0-email-settings). |

## Test Transport

Once all details have been entered as required, click on this button to test the connection to the remote **SMTP** server or service.

You need to select the **Available File Connection** that will be used to filter the files, and to provide detail of the directories to be used to send any files to.

::: warning
**Test Transport** is a live test and will cause the transport to run, and send the first file that exists in the **File Connection** that matches the *File Search Pattern*, to the remote **SMTP** service.
:::

A pop-up **Test Transport** window will appear - select the appropriate **File Connection** from the drop-down list.

Click **Run** to perform the test, and **Cancel** to quit without testing.
