Blog

Mail: send and receive mail for your domains with Resend or direct SMTP

How to set up mail for a domain in AI Hosting Panel, either through a saved Resend key or directly on this server, and how mailboxes and DNS records are created.

Mail: send and receive mail for your domains with Resend or direct SMTP

2026-11-22

The Mail page sets up mail for your domains. Mail can be sent and received in two ways: through Resend, with a key you save once for the hosting account, or directly on this server, which takes the mail of a domain itself with no third-party service. The panel writes the DNS records that mail needs.

Option one: Resend

  1. Open Email in the sidebar, then Mail.
  2. Choose the Hosting account at the top of the page.
  3. Type your Resend API key in the Resend key box, and press Save key. Save it once for each account.
  4. Add a domain that belongs to that account. The panel writes its DNS records.
Mail page with the hosting account choice, the Resend API key box and the Direct SMTP setup
The Mail page: choose the account, save a Resend key, or set up direct mail for a domain of that account.

Option two: direct mail on this server

The DNS records mail needs are written to Cloudflare when Cloudflare holds the domain's zone, as the page explains.

  1. In the Direct SMTP card, type a domain that belongs to the same hosting account, for example mail.example.com.
  2. Press Set up direct mail. The domain is listed as accepting mail directly.
  3. Create its mailboxes on the same page.

Mailboxes

Mailboxes are created on the page once a Resend key is saved for the account and one of its mail domains shows webmail ready in the list above. Until then, the page says that mailboxes cannot be made yet.

All posts