# Transactional SMTP Relay: steps to start sending

* [ ] Create a [Connection](/docs/introduction/getting-ready-to-send.md) or [MTA policy](/docs/velocity-mta-basics/creating-an-mta-delivery-policy.md)
* [ ] Create a [Postal Route](/docs/introduction/postal-routes.md) for your Connection or MTA Policy
* [ ] Create a [Customer Account](/docs/backend-administration/creating-customer-accounts.md) or use the default Acme Customer
* [ ] Add the Postal Route to the Customer Account
* [ ] Add a [User Account](/docs/backend-administration/creating-user-accounts.md) under the Customer Account
* [ ] Log in as the User Account in Incognito mode or a second web browser

{% hint style="warning" %}
**You have to log in directly as the User for this next step.**&#x20;

Don't use administrator impersonation mode.&#x20;
{% endhint %}

* [ ] Find your User API Key by clicking **Integrate -> API & SMTP -> SMTP Relay**&#x20;
* [ ] Use the API Key as your username and password&#x20;
* [ ] Connect to your ESP platform DNS hostname or IP address on port 587, 2525, or 8025
* [ ] Use STARTTLS or TLS for your encryption method, or choose no encryption

{% hint style="info" %}
**All three ports accept both TLS and disabled/no encryption.**
{% endhint %}

{% hint style="danger" %}
**TLS is the only supported encryption method - do not select SSL in your application.**
{% endhint %}

{% hint style="info" %}
**Try connecting using your IP address instead of your domain if you run into issues.**
{% endhint %}

{% hint style="info" %}
**Your transactional SMTP messages will be delivered via the Customer's Postal Route.**

Mail comes **into** your Transactional SMTP Relay on port 587, 2525, or 8025 and goes **out of** the Connection or MTA Policy configured in the Postal Route assigned to your Customer Account in the administrative backend.
{% endhint %}

All mail delivered from your ESP platform follows the same pathway:&#x20;

**Broadcast, Funnel, or Transactional Message ->**  **Customer Account -> Postal Route -> API Connection, SMTP Relay Connection, or MTA Policy -> Gmail/Yahoo/Outlook/etc**&#x20;

{% hint style="success" %}
**You can actually use whatever you want for the Transactional SMTP Relay username.**&#x20;

We recommend using the API Key for the username and password for simplicity of explanation, but the username is actually ignored and discarded and can be anything.
{% endhint %}

{% hint style="danger" %}
**If you're using Cloudflare for HTTPS, extra steps to** [**enable SMTP Relay** ](/docs/options-for-adding-https/transactional-smtp-relay-requirements-for-cloudflare.md)**are required.**&#x20;
{% endhint %}


---

# 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.emaildelivery.com/docs/transactional/transactional-smtp-relay-steps-to-start-sending.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.
