MagicWP Docs

Email

Send WordPress email through a real provider for reliable delivery

MagicWP lets you route your WordPress site's outgoing email through a dedicated email provider instead of the server's built-in mail(). Password resets, WooCommerce receipts, contact-form notifications, and admin alerts are handed to a provider's API — so they actually reach the inbox instead of being dropped or flagged as spam.

You configure it per site in the dashboard: your site → Email.

Supported providers

ProviderWhere to get the API keyExtra field
Resend (recommended)resend.com
Postmarkpostmarkapp.com
Mailtrapmailtrap.io
Useplunkuseplunk.com
Mailgunmailgun.comMailgun domain

Every provider takes an API key, a From Email, and a From Name. Mailgun additionally needs your Mailgun domain (e.g. mg.yourdomain.com).

Your API key is write-only

Keys are encrypted at rest and only ever shown back to you masked (●●●●●●●●). MagicWP never displays a saved key again — to change any setting on a saved provider you re-enter the key.

Requirements

  • WordPress must be installed on the site.
  • The site must be live (or in maintenance) — you can't configure email on a site that is still being provisioned.
  • Your MagicWP account email must be verified.

Set up a provider

1. Open your site's Email settings

In the dashboard, open your site and go to Email. You'll see the Email Configuration page with a provider dropdown.

2. Choose a provider

Open Select Email Provider and pick one. Resend is recommended for most sites, but any of Resend, Postmark, Mailtrap, Useplunk, or Mailgun works.

3. Create an API key at the provider

Sign in to the provider and create an API key. While you're there, verify your sending domain (add the SPF and DKIM DNS records they give you) — this is what keeps your mail out of spam. For Mailgun, also copy your Mailgun domain.

4. Fill in the form

Back in MagicWP, enter:

  • API Key — the key you just created.
  • From Email — the address mail is sent from, e.g. [email protected]. Use an address on the domain you verified at the provider.
  • From Name — the display name recipients see, e.g. your site's name.
  • Mailgun Domain — Mailgun only, e.g. mg.yourdomain.com.

5. Save and activate

Click Save Settings. MagicWP encrypts the key, saves the provider, and activates it for your site in one step. A confirmation appears when it's done.

6. Send a test

Click Send Test to send a message to your account email address (shown under the provider dropdown). Check your inbox to confirm delivery.

Field reference

FieldApplies toExample
API Keyall providers(from the provider)
From Emailall providers[email protected]
From Nameall providersAcme Store
Mailgun DomainMailgun onlymg.yourdomain.com

Switching providers

Select a different provider you've already configured and click Save Settings — MagicWP just re-activates it, no need to re-enter anything. If you pick a provider you haven't set up yet, fill in its fields first.

Changing a saved API key

Saved keys are never shown again. To replace one, click Change next to the API Key field, enter the new key, and save.

Editing a saved provider needs the key

Because the key is write-only, changing the From Email, From Name, or Mailgun domain on an already-saved provider requires you to re-enter the API key when you save.

Turning email off

Set the provider dropdown to Disabled and click Save Settings. Your site stops routing mail through a provider and falls back to WordPress's default sending. Your saved provider details are kept, so you can re-enable later.

Troubleshooting

Most email problems come down to two things: the sending domain isn't authenticated at the provider, or the provider is in a test/sandbox mode.

SymptomLikely causeFix
Email page won't open / "Site is not ready"Site is still provisioning, or WordPress isn't installedWait for the site to go live and finish the WordPress install, then reopen Email
Test email never arrivesWrong or inactive API keyRe-check the key at the provider; click Change and paste a fresh one
Test email never arrivesSending domain not verifiedVerify the From Email domain at the provider (add its SPF + DKIM DNS records)
Mail arrives but lands in spamDomain authentication incompleteComplete SPF, DKIM, and DMARC for your domain at the provider and in DNS
Can't save after editing a fieldSaved key must be re-enteredClick Change, re-enter the API key, then save
"Mailgun requires domain"Missing Mailgun domainEnter your Mailgun Domain (e.g. mg.yourdomain.com)
Switched provider but old one still usedNew provider not activatedClick Save Settings to activate; it syncs to the server in a few seconds
WooCommerce / form emails still failProvider is set to Disabled, or From Email domain unverifiedSelect and save a provider, and verify its sending domain

Test vs. production providers

  • Mailtrap is built for testing — by default it captures messages in your Mailtrap inbox rather than delivering to the real recipient. Use it to inspect what your site sends; switch to a delivery stream (or a production provider) for live mail.
  • Mailgun sandbox domains only deliver to authorized recipients you add in the Mailgun dashboard. Use a verified custom domain for real traffic.
  • Resend, Postmark, and Useplunk deliver to real inboxes once your sending domain is verified.

On this page