# How to Set Up SMTP Senpai (MailSenpai) with AcelleMail

> Install the Mailsenpai plugin, paste your SMTP Senpai API key, check your sending domains, and let bounces and spam complaints come back on their own.

- Canonical URL: https://acellesend.com/kb/articles/configuring-smtp-senpai-with-acellemail
- Author: Lena Hart, Email Deliverability Editor
- Category: Sending & Deliverability — SMTP setup, bounce handling, sender reputation, IP warmup, throttling
- Content type: tutorial · Difficulty: intermediate
- Tags: SMTP Senpai, Bounce Handling, Smtp, Acellemail
- Published: 2026-11-19 · Last updated: 2026-11-20
- Reading time: 6 min
- Publisher: AcelleMail Knowledge Base, https://acellesend.com/kb

---

## What this is for

[SMTP Senpai](https://en.mailsenpai.com/smtp-senpai/) is the email relay of [MailSenpai](https://en.mailsenpai.com/), hosted in the EU. The **Mailsenpai** plugin connects it to AcelleMail as a sending server, by its API or by its SMTP relay. Bounces and spam complaints come back to AcelleMail on their own.

MailSenpai presents SMTP Senpai as a relay for transactional email. Check that your MailSenpai plan allows the mail you plan to send through it.

## Before you start

- A MailSenpai account with SMTP Senpai active. Its menu shows **SMTP Senpai** with the status **In operation**.
- A sending domain verified in MailSenpai, under **Domains**. MailSenpai shows the DNS records to publish there.
- AcelleMail reachable at a public **https** address. MailSenpai sends bounces and complaints to it.
- AcelleMail 4.2.0-p196 or later.

## Step 1 — Install the Mailsenpai plugin

In the admin area, open **Plugins** and click **Install plugin**. Choose **Connect with marketplace** (1), connect your account and install **Mailsenpai**. If you downloaded the plugin ZIP from your account instead, choose **Upload plugin package**.

![The Install plugin menu on the Plugins page, and the installed Mailsenpai plugin marked Active](https://acellesend.com/plugins/acelle/landing/images/help/kb/configuring-smtp-senpai-with-acellemail/01-install-plugin.png)

Once installed, the **Mailsenpai** card shows **Active** (2). It adds two server types: **Mailsenpai API** and **Mailsenpai SMTP**.

## Step 2 — Copy your API key in MailSenpai

Log in to your MailSenpai account at [app.mailsenpai.com](https://app.mailsenpai.com/customer/). In the left menu, under **SMTP Senpai**, click **Connection**. In the **Key to your applications** box, click **Show**, then **Copy**. The key starts with `msp_`.

![The Connection page of SMTP Senpai, with the Key to your applications box](https://acellesend.com/plugins/acelle/landing/images/help/kb/configuring-smtp-senpai-with-acellemail/02-mailsenpai-connection.png)

Do not click **Regenerate** unless you mean to. As the page says, the old key stops working at once, and the AcelleMail server using it stops sending.

The same page shows the **User** and **Password** of the SMTP relay, and its ports (2525, or 587 with STARTTLS). You need them only for the **Mailsenpai SMTP** server type.

## Step 3 — Add a Mailsenpai sending server

In the admin area, open **Sending Servers** and click **Add Server**. The **Choose Server Type** window lists the plugin types under **Plugin Servers**. Click **Mailsenpai API**.

![The Choose Server Type window with Mailsenpai API under Plugin Servers](https://acellesend.com/plugins/acelle/landing/images/help/kb/configuring-smtp-senpai-with-acellemail/03-choose-server-type.png)

**Mailsenpai SMTP** sends through the SMTP relay instead. It asks for the same API key, plus the **SMTP username**, **SMTP password** and **SMTP port** from the Connection page. The username must belong to the same MailSenpai account as the key.

## Step 4 — Paste the key and save

The **New server** page opens on **Connection details**. Paste your key into **API Key** (1) and click **Save Changes** (2).

![The New server page with the API Key field and the Save Changes button](https://acellesend.com/plugins/acelle/landing/images/help/kb/configuring-smtp-senpai-with-acellemail/04-api-key.png)

The server's page opens, marked **Active**. Click **Test Connection** (1). AcelleMail asks MailSenpai about your account, and answers **The connection works** (2).

![Test Connection answered with The connection works](https://acellesend.com/plugins/acelle/landing/images/help/kb/configuring-smtp-senpai-with-acellemail/05-connection-works.png)

The **Webhook URL** field now shows the address MailSenpai will send bounces and complaints to. It reads **Not set yet** until the server first sends a campaign or a test email (see *Bounces and spam complaints* below).

## Step 5 — Add your sending domain

Open the **Sender Identity** tab and click **Add domain or email**. In the **Add Domain / Email** window, type your domain (1) and click **Add email/domain** (2).

![The Add Domain / Email window with a domain typed in](https://acellesend.com/plugins/acelle/landing/images/help/kb/configuring-smtp-senpai-with-acellemail/06-add-domain.png)

AcelleMail asks MailSenpai whether it would send from that domain. It asks in MailSenpai's test mode, so no email is sent and nothing counts against your plan.

## Step 6 — Check the domain's status

The domain appears in the **Sender Identity** list with MailSenpai's answer.

![The Sender Identity list: a verified domain Active, example.org Pending with Mailsenpai: not_verified](https://acellesend.com/plugins/acelle/landing/images/help/kb/configuring-smtp-senpai-with-acellemail/07-sender-identities.png)

- **Active**: MailSenpai sends from this domain. Your campaigns can use addresses at it.
- **Pending** with **Mailsenpai: not_verified**: MailSenpai does not send from this domain yet. Verify it in MailSenpai under **Domains**, then open this server's page again. AcelleMail asks MailSenpai again about every domain each time the page opens.

MailSenpai also sends from the parent domain of a verified domain and from their subdomains, signed with the verified domain's key. Its Connection page says which ones. Those show **Active** too.

**Available for all** lets every customer of your AcelleMail send from the domain. Leave it unticked and pick an **Owner** to give it to one customer.

## Bounces and spam complaints

A MailSenpai account has one webhook (in MailSenpai: Real-time notifications). Before the server first sends a campaign or a test email, AcelleMail points that webhook at the server and stores its signing secret. The **Webhook URL** field then says **Set at Mailsenpai; its signing secret is stored.**

From then on:

- **Bounce**: the address is blacklisted in AcelleMail. MailSenpai also suppresses it.
- **Complaint**: the subscriber is marked as having reported spam.
- **Dropped**: MailSenpai held a message because the address is on its suppression list. Admins get a notification.

AcelleMail checks MailSenpai's signature on every request and refuses one that is more than 5 minutes old.

## Common issues

| What you see | What to do |
|---|---|
| Test Connection: *The Mailsenpai account is still being activated ("stato": "pending"): it cannot send yet.* | MailSenpai has not activated SMTP Senpai yet. Wait until its menu shows **In operation**, then click **Test Connection** again. |
| Test Connection: *Mailsenpai API 401 on GET …* | The key is wrong, or it was regenerated. Copy it again from **Connection → Key to your applications** and save the server. |
| The domain stays **Pending**, *Mailsenpai: not_verified* | Verify the domain in MailSenpai under **Domains** and publish the DNS records it shows. Then open the server's page again. |
| *The Mailsenpai account already sends its webhook (Real-time notifications) to …, which is not this platform.* | Another tool uses the account's one webhook. AcelleMail does not replace it. Turn that webhook off in MailSenpai, then send again. |
| *Mailsenpai cannot deliver bounces and spam complaints to …: it calls public https addresses only.* | Your AcelleMail runs at a local or http address. Set `APP_URL` in its `.env` file to its public https address, then send again. |
| *The Mailsenpai API cannot embed images in the HTML; send this message through a Mailsenpai SMTP server.* | The email embeds an image in its HTML. Send it through a **Mailsenpai SMTP** server, or link the image instead of embedding it. |
| *The SMTP username … does not belong to the Mailsenpai account of this API key* | The **SMTP username** comes from another MailSenpai account. Copy the **User** from the same account's **Connection** page as the key. |

## What to do after

- Match the server's sending limit to your MailSenpai plan. On the server's page, open **Configuration**. The free plan allows 30 emails an hour, 200 a day and 5,000 a month.
- Publish SPF, DKIM and DMARC for your domain: [How to Set Up SPF, DKIM, and DMARC Records](https://acellesend.com/kb/articles/how-to-set-up-spf-dkim-and-dmarc-records).
- Give the server to your customers' plans: [Sending Servers for a Plan](https://acellesend.com/kb/articles/sending-server-for-plan).

---

## Related articles

- [How to Set Up SPF, DKIM, and DMARC Records — The Basics](https://acellesend.com/kb/articles/how-to-set-up-spf-dkim-and-dmarc-records): New to email sending? These are the 3 DNS records you absolutely need before sending a single campaign. This guide is the basics — what each does, what to publish, how AcelleMail verifies them.
- [Multiple Sending Servers in AcelleMail — Add, Mix, Route](https://acellesend.com/kb/articles/configuring-multiple-sending-servers): Spread your volume across several SMTP and API senders for failover, reputation isolation, and headroom past any single vendor's cap. This guide walks the real screens: the type picker, the connect form, the per-campaign "Use all servers" toggle, and the admin pool view.
- [Sending Servers for a Plan: Shared Pool or Bring-Your-Own](https://acellesend.com/kb/articles/sending-server-for-plan): Every plan in AcelleMail answers one question before a customer on it can send a single email: whose sending server moves the message? You — the admin — decide that on the plan's Sending Servers tab. There are exactly two answers, and a customer on a given plan only ever sees one of them in their UI. This guide walks both options end-to-end with screenshots from the admin and the customer side, so you can pick the right mode for each plan you sell and know exactly what your customer will see after they subscribe.
- [Hard Bounce vs Soft Bounce — Reading the Bounce Log](https://acellesend.com/kb/articles/understanding-email-bounce-types): A hard bounce is permanent; a soft bounce is temporary. AcelleMail records them in the campaign bounce log and treats them differently — hard bounces blacklist the address, soft bounces are left alone for the receiving server to retry. This guide walks the bounce log, the DSN codes, and what each type means for your list.
- [How to Set Up Amazon SES with AcelleMail](https://acellesend.com/kb/articles/configuring-amazon-ses-with-acellemail): Create an IAM user and access key in AWS, connect Amazon SES to AcelleMail, share your verified domains with users, and let them verify their own.
