Using SMTP Relay and the e-mail API together: the same domains, log and blocked list

Comparisons and alternatives·· 10 views· 3 min read

The short answer: SMTP Relay and the e-mail API send through the same servers, with the same verified domains, the same log and the same blocked list. Only the way the program connects changes. So you can use both at once: WordPress and the printer over SMTP, the new application through the API. The general comparison of the two routes is in sending by SMTP or through an e-mail API.

What is the same and what changes

SMTP Relay E-mail API
Who it is for Programs that already send over SMTP. New systems, or ones that want more control.
How it connects Server, port, username and password. API key in the header, over HTTPS.
Templates with variables The program builds the message. Yes, stored in the Email Center.
Verified domains The same. The same.
Log and blocked list The same. The same.

One account, two routes: examples

Situation How to split it
A WordPress site and your own application WordPress through its SMTP plugin; the application through the API, with templates.
An old ERP and a new customer portal The ERP over SMTP, because it speaks nothing else; the portal through the API.
Printers and system alerts All over SMTP, each device with its own credential.

Because everything lands in the same log, you see the e-mails from both routes in one place, and an address that was blocked through one route does not receive through the other either.

When to move a program from SMTP to the API

You need Through the API
Templates stored in the Email Center, with variables Change the wording without touching the program.
To know right away what happened to each e-mail Webhook notices say when it was delivered, bounced or marked as spam.
To schedule a send for later One field in the request.
To repeat a request without sending twice The Idempotency-Key header.
SMTP credentials and API keys are different things. Revoking an SMTP credential does not touch your API keys, and the other way round. Each is managed in its own place.
The API documentation and examples are on the API page.

Want to use both routes? Tell us how many e-mails you send each month, over SMTP and through the API, and we will prepare the proposal.

Ask for a proposal

SEE ALSO

Sending e-mail by SMTP or through an e-mail API: which suits your application

SMTP Relay: an SMTP server for the automatic e-mails of your site, system or device

The program says sent, the customer got nothing: finding SMTP e-mails in the Email Center log

SMTP Relay in Laravel and other PHP frameworks: the .env settings and a first test e-mail

Your application sends from a mailbox: when to switch it to SMTP Relay

RECOMMENDED PRODUCT

Professional e-mail on your domain

Mailboxes in your company name, no adverts, with spam filtering. from $5.36/mo (3-year plan, with coupon)

See plans
Was this answer helpful? Your answer helps us improve this article.