Skip to main content

How to Connect Resend to WordPress

LetterPress sends through the Resend API.

Before you begin​

  • A Resend account.
  • A domain you can add DNS records to.
  • An API key.

Step 1: Verify your domain​

  1. Sign in to Resend.
  2. Open Domains and click Add Domain.
  3. Enter your sending domain, for example example.com or mail.example.com.
  4. Choose a region if Resend asks.
  5. Copy the DNS records and add them at your DNS provider.
  6. Wait until Resend shows the domain as verified.

Resend does not send from an unverified domain.

Step 2: Create an API key​

  1. Open API Keys.
  2. Click Create API Key.
  3. Give it sending permission.
  4. Copy the key. Resend shows it once.

A sending-only key can send email but may not list domains. LetterPress handles that case and asks you to use the send test.

Step 3: Enter the key in LetterPress​

  1. Open Settings > Email providers.
  2. Select Resend.
  3. Paste the API key.
  4. Save changes. Set this provider as default if the button is shown. Then click Test connection.

If the test says the key is accepted but cannot list domains, that is normal for a sending-only key. Continue with the test email.

Step 4: Set the sender and test​

Open Settings > Sender identity and set From email to an address on the verified domain.

Click Send test email. Then send a test email from Settings > Sender identity.

Common problems​

ProblemWhat to check
401 UnauthorizedThe key is wrong or revoked.
403 Domain not verifiedFinish DNS verification for the sending domain.
422 Invalid from addressThe From address is not on the verified domain.
429 Too Many RequestsThe plan limit or rate limit was reached.
Mail goes to spamAdd SPF, DKIM, and DMARC for the domain.

Next steps​