> For the complete documentation index, see [llms.txt](https://docs.yeymail.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yeymail.com/using-yeymail/sending-and-replying/thunderbird.md).

# Thunderbird

Thunderbird handles this well: you add the alias as an *identity* on the account you already read, with its own outgoing server.

## Before you start

In YeyMail: **Aliases → open the alias → Send as this alias (SMTP)** and set a password.

## 1. Add the outgoing server

1. **Account Settings** (hamburger menu → *Account Settings*).
2. Scroll to the bottom of the left column and click **Outgoing Server (SMTP)**.
3. Click **Add** and fill it in:

   | Field                 | Value                                      |
   | --------------------- | ------------------------------------------ |
   | Description           | e.g. "YeyMail shop alias"                  |
   | Server Name           | `mx1.yeymail.com`                          |
   | Port                  | `587`                                      |
   | Connection security   | **STARTTLS**                               |
   | Authentication method | Normal password                            |
   | User Name             | the full alias, e.g. `shop@yourdomain.com` |
4. Click **OK**.

## 2. Add the identity

1. Still in Account Settings, select your account at the top of the left column.
2. Click **Manage Identities…** → **Add…**
3. Set **Your Name** to whatever recipients should see, and **Email Address** to the full alias.
4. At the bottom, set **Outgoing Server (SMTP)** to the server you just created.
5. Click **OK**.

When you compose, the **From** dropdown now lists the alias. Thunderbird will prompt for the password the first time and offer to remember it.

## Replying automatically from the right alias

Thunderbird matches an incoming message's recipient against your identities, so a reply to mail that arrived on `shop@yourdomain.com` goes out from that identity by itself, provided the alias is listed as an identity, which the steps above did.

## If it doesn't work

**"Unable to connect"**: confirm *Connection security* is **STARTTLS** and the port is `587`. Choosing **SSL/TLS** switches Thunderbird to port 465, which we don't run.

**"Sending of the message failed" / relay denied**: the identity's email address must match the *User Name* on its outgoing server. Each alias needs its own identity and its own SMTP entry.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.yeymail.com/using-yeymail/sending-and-replying/thunderbird.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
