> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mailofly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Creating email address

> How to format sender addresses, display names, and reply-to addresses in Mailofly.

# Creating an Email Address

In Mailofly, every outbound email requires a valid sender address specified in the `from` field. This guide covers RFC 5322 compliance, display names, and best practices.

***

## Supported Formats

Mailofly supports standard RFC 5322 mailbox formatting:

### 1. Address with Display Name (Recommended)

```text theme={null}
"Sender Name" <sender@yourdomain.com>
Sender Name <sender@yourdomain.com>
```

Example:

```json theme={null}
{
  "from": "Acme Support <support@acme.com>"
}
```

### 2. Bare Email Address

```text theme={null}
sender@yourdomain.com
```

Example:

```json theme={null}
{
  "from": "billing@acme.com"
}
```

***

## Domain Verification Requirement

When sending from custom domains, the domain portion of your `from` address (`@yourdomain.com`) must match an active, verified domain in your Mailofly dashboard.

If you attempt to send from an unverified domain, the API will return:

```json theme={null}
{
  "error": "The domain 'yourdomain.com' is not verified in Domains."
}
```

<Note>
  If you do not have a custom domain verified yet, you can send from a connected [Identity](/getting-started/identities) (e.g. your personal `@gmail.com` account or custom SMTP).
</Note>

***

## Reply-To Addresses

You can set a different destination for recipient replies using the `reply_to` field:

```json theme={null}
{
  "from": "Notifications <notifications@acme.com>",
  "reply_to": "team@acme.com"
}
```

Replies sent by recipients will automatically be addressed to `team@acme.com` rather than the sending address.


## Related topics

- [Email addresses for testing](/guides/testing/email-addresses-for-testing.md)
- [Change your Email Address](/guides/account/change-email-address.md)
- [Manage API Keys](/guides/api-keys/manage-api-keys.md)
- [Manage Broadcasts](/broadcasts/manage-broadcasts.md)
- [Create Template](/templates/create-template.md)
