Routing and failover
Reading provider health and send logs in mailers.io
By mailers.io team Published 5 min read
public/media/blog-read-provider-health-and-logs-cover.webp When mail is slow or a customer says they did not get a message, you need an answer in a few minutes. mailers.io keeps a record of what every message did, and the notices it raises tell you when a server needs attention. This post shows where to look and how to read what you find. Names of screens follow the left menu: Sending for servers, Logs for the records.
Start at the server list
Under Sending, the server list shows each connected server and its status. A server can be active, disabled or paused by a plan check, and a mailbox whose sign-in was revoked is disabled with that reason. The list is the quick way to see that a server has dropped out of the rotation. A disabled server takes no mail, and mail waiting on it moves to the others as soon as it is disabled.
Each server has a connection test and a test e-mail. The test mail goes through that server only, skips the pacing gap and is limited to 20 per hour per account. Use it after you change a credential, a limit or a domain. A test that fails shows the provider’s answer, which is often enough to find the cause. Note that the test of a provider-type server is not blocked by the check that the From domain is registered at the provider. The provider answers for its own sender rules, so a rejection appears in the result.
The number to watch is how many sends in a row have failed because of the server. After five in a row, mailers.io raises a notice that the server is failing. It is raised once per problem and cleared by the next accepted message. Read per-send retries and hard errors for what counts.
The message log
Under Logs, the messages log lists every message with its status, the source (a campaign, an automation, a sequence, the API, the SMTP relay or a test), the recipient and the time. Open a message to see:
- The status. For API messages the values are queued, sending, sent, failed, deferred and skipped.
- The attempts. Each attempt with the server used, the time, the code and the text the server or provider returned.
- The events. Delivered, bounce, complaint and, when you track them, opens and clicks.
- Whether it was charged. One credit is used for a message that was sent. A recipient skipped as suppressed is not charged.
Always read the attempts first. A message that went through three servers and failed on all of them is a different problem from a message that failed once on a bad address. With three attempts as the default, you can see exactly which servers were tried and in what order.
The events log is the same data seen from the other side: deliveries, bounces and complaints across all messages. It is the place to see a rise in bounces after you import a list.
A campaign has its own report page, with tabs for the overview, delivery, links, countries, logs and an e-mail review. Use it when the question is about one campaign and not the whole account.
Why is a message waiting
A deferred message has a reason. These are the main ones:
- No eligible server. All servers are disabled, deleted or refused. Typical cause: a provider-type server whose From domain is not yet confirmed at the provider. Mail waits until a server joins.
- Server limits. Every eligible server is at its speed limit or daily cap. The message waits for the earliest reopening. This is the limits doing their job. Routing by provider quota and speed limits explains it.
- Warm-up cap. A server in its warm-up ramp has reached today’s volume.
- Server fault or sleeping server. The last try failed or a provider asked you to slow down. The message tries again with a growing pause.
- Credits. The balance is empty. Sends pause and continue after a credit pack or the next period.
- Expired. Nothing could send it for five days.
A long queue with the reason server limits is not a fault. A long queue with no eligible server is, and it needs you.
Counts per server
The stats show daily and hourly send counts per server, so you can see how the rotation is spreading mail. If one server has far more than the others, check the limits on each. With the default rule and equal limits, shares should be similar. A server with a low limit takes a small share, and a server that fails takes none.
Delivery stats count each accepted send and each final failure against the server that handled it. A failure that moved to another server is counted on the server that finally took it, and the failed attempt stays in the message’s own log.
How long the logs last
Message and event records are kept for your plan’s retention period. The platform default is 90 days, and it can be set between 7 and 400 days. IP address and user agent in events are trimmed earlier, after a shorter period, because they are personal data. Message content sent through the API is kept for 7 days for sending and removed after that. Do not plan to use the log as an archive. Export what you need for audits or accounting before it expires.
A fast checklist
When something looks wrong:
- Open the message and read the attempts and the reason.
- Look at the server named in the attempt: its status, the last test, any notice.
- Check the limits and warm-up if mail is waiting.
- Check the credit balance if everything is waiting at once.
- Look at bounces in the events log if the problem is a drop in delivery, not a stuck queue.
- Send a test through the server after any change.
Failover, limits and the log work together. The rotation keeps mail moving, the limits keep it within the rules, and the log tells you afterwards what happened. For the overview of routing, see e-mail routing, and for the servers themselves, sending servers.
Questions and answers
How long are message logs kept?
For the retention period of your plan. The platform default is 90 days, and it can be set from 7 to 400 days.
Why is a message deferred instead of failed?
Deferred means it is waiting, for a limit, a sleeping server, credits or a retry. It fails only when the problem is final, or after five days.
Does the log show message bodies?
The log is about status, servers, attempts and events. Message content sent through the API is kept for 7 days for sending and then removed.
Written by the mailers.io team. Published .