Skip to main content
mailers.io

Providers

Set up Amazon SES as a sending server in mailers.io

By mailers.io team Published 5 min read

Amazon SES is one of the eleven sending providers you can connect to mailers.io. mailers.io does not send for you; it sends through your SES account, so your domains, your limits and your SES reputation stay yours. This guide goes through the connection, in the order that avoids the usual snags.

Before you start

You need:

  • an AWS account with SES available in the region you want to use;
  • an IAM user with an access key, made for this purpose only;
  • a domain you can edit DNS for, ideally a subdomain used for sending. See the subdomain strategy;
  • a plan with room for the domain. Sending domains are limited per plan, so check pricing first.

Two things sit on the AWS side and are not changed by mailers.io: the limits of your SES account (how many messages per day and per second it allows) and the rules about what you may send. Read AWS’s terms before you send cold or bulk mail. mailers.io itself only blocks cold sequences on one provider, Postmark.

Step 1: make the IAM user

Create an IAM user for mailers.io and an access key for it. Two limits matter:

  • mailers.io takes the long-term key pair, an access key id and a secret. Session tokens and roles are not supported.
  • The key needs these permissions, which are the calls mailers.io makes:
    • SES: ses:GetAccount, ses:SendRawEmail and ses:SendEmail, ses:CreateConfigurationSet, ses:CreateConfigurationSetEventDestination, ses:UpdateConfigurationSetEventDestination, ses:CreateEmailIdentity, ses:GetEmailIdentity, ses:DeleteEmailIdentity.
    • SNS, for bounce and complaint events: sns:CreateTopic, sns:SetTopicAttributes, sns:Subscribe, sns:ConfirmSubscription, sns:ListSubscriptionsByTopic, sns:Unsubscribe.

The connection test does not check the send permission, so a missing one shows up on the first real send as a failed attempt with the reason permission_denied. If you see that, fix the policy.

Keep the key narrow. If you rotate it later, edit the server and enter the new pair. The stored secret is write-only: it can be replaced, but it is never shown again.

Step 2: connect the server

Open Sending, then Servers, and add a server. Choose Amazon SES and fill in:

  • A name you will recognise in logs and reports.
  • Region. Pick one of the 22 AWS regions in the list. SES identities and limits are per region, so use the region where your SES account is set up and, if you have several, connect each region as its own server.
  • Access key id and secret access key from step 1.
  • Speed limit (optional). See step 5.

Run Test connection. It makes a read-only call to your SES account: it checks the key, the signature, the region and whether sending is enabled. Nothing is sent. If SES says sending is disabled for the account, the test reports the account as paused, and you must resolve that in AWS.

mailers.io sends through the SES API as raw MIME, one recipient per call. The key is sealed before it is stored.

Step 3: add the domain and DKIM

SES only sends from an identity it has verified, so the From address of a message must belong to one. In mailers.io, open Sending domains and add your sending domain, choosing the SES server.

For SES, mailers.io registers the identity in your account and turns on Easy DKIM. It then shows you the DNS records:

  • Three CNAME records for DKIM, named <token>._domainkey.<your domain>, each pointing to an Amazon DKIM host.

Publish them where your DNS is hosted and use the verify button. Mail sent through the SES API is signed by SES with those keys; mailers.io does not sign it again, and no private key of yours is sent to AWS. Allow time for DNS to spread; a record you have just added may take a while to be found.

If your plan includes zero sending domains, you cannot add one, and you will need a plan that has them.

Step 4: bounces and complaints

A good sender needs to know when mail bounces or is reported as spam, so those addresses can stop receiving it. For SES this is automatic.

When you save the server, mailers.io creates a configuration set and an SNS topic for it, subscribes its own HTTPS address to that topic, and confirms the subscription. SES then reports bounces, complaints and deliveries to it. mailers.io checks each call: it accepts only a signed SNS message from that topic, with a valid certificate and a recent timestamp.

What happens next is the normal suppression logic: a hard bounce or a complaint puts the address on the suppression list, and that address is not mailed again. A soft bounce is counted toward the soft-bounce limit. Suppressed recipients are never charged.

Because the events come from SES, the mailbox for IMAP bounce reading is not used for SES servers.

Step 5: set a speed limit and a daily cap

Your SES account has its own quota. Put a speed limit on the server that is a little lower, so mailers.io paces itself and does not run into SES’s refusals.

The limit is set per minute, per hour or per day. SES quotes a rate per second, so for a per-minute limit multiply by 60. As an example, 10 messages a second is 600 a minute. Add the daily cap to match your daily SES quota.

If SES does answer with a rate-limit error anyway, mailers.io treats the server as busy: it steps aside for the time SES asked for, and the message goes to another server or waits. This works best when you have more than one server. Routing by provider quota and speed limits explains the order in which servers are tried and what happens when all are full.

Step 6: warm up and send a test

A new SES setup has no history. Use the warm-up tools to ramp volume over days instead of sending a full list on day one. Warm-up pauses on its own when bounce or complaint rates cross its thresholds. It does not guarantee a reputation.

Then send a test message to an address you own, and open the log. You should see one attempt, the SES server, and the delivery event once SES reports it. If the attempt failed, the error class tells you where to look:

  • permission_denied: the IAM policy.
  • account_paused: the SES account status in AWS.
  • rate limited: the SES quota, or a speed limit that is too high.

What mailers.io does not do for SES

It does not raise your SES limits, move you out of an AWS restriction, or change your SES reputation. It does not send with IAM roles or temporary credentials. And it does not share an IP pool: your mail goes out through your account.

For the connection details by provider, see the Amazon SES integration page, and for a second server to fall back on, sending servers.

Questions and answers

Does mailers.io send through the SES SMTP endpoint?

No. It uses the SES API, signed with the IAM key you give it. The SES SMTP presets were removed.

Can I use an IAM role or temporary credentials?

No. Use the long-term access key of an IAM user. Session tokens and roles are not supported.

Who pays for the mail sent through SES?

You pay AWS for SES. mailers.io charges one credit per message sent, on top, under your plan.

Written by the mailers.io team. Published .

Keep reading

Related posts

Send cold e-mail from your own servers.

Connect your servers, import a list and write the steps. Replies stop the sequence.

  • 7-day money-back guarantee
  • Bring your own providers
  • Cancel anytime