Two situations come up often. A small hotel in Hopkins has a booking plugin that sends confirmations through its web host, and guests keep finding them in spam. A Belize City distributor wants its accounting package to email invoices automatically. Both need a reliable way for software to send email. The choice is between SMTP relay and an email API, and the right answer depends on the tools you already have, not on which is more modern.

SMTP relay: point existing software at a better server

SMTP (Simple Mail Transfer Protocol) is how email servers pass messages to each other. Almost every application that can send email, including WordPress plugins, accounting packages, point-of-sale systems and booking engines, has a field for an SMTP server, a port, a username and a password. Replace your web host’s default server with Mailpro’s SMTP relay and the software carries on as before, but its messages go out through infrastructure built for deliverability.

SMTP is best when: the software already exists, you cannot change its code, and you just want its emails to arrive.

Email API: sending built into your own code

An API (Application Programming Interface) lets a developer send email by calling Mailpro over HTTPS, with the recipient, template and merge data included in the request. The response returns an identifier you can use to check delivery later. The same API can also create contacts, manage lists and fetch statistics.

The API is best when: you are building or customising a system, for example a tour-booking website, a credit union’s member portal or an e-commerce shop, and you want delivery status, contact sync and templates managed from code.

Side by side

SMTP relayEmail API
SetupChange server settings; no codingDeveloper integration
Works with off-the-shelf softwareYes, almost universallyOnly if the software supports it
Delivery status per messageThrough logs and reportsDirectly in the response and webhooks
Contact and list managementNoYes
Templates and merge fieldsBuilt by the sending softwareStored in Mailpro and filled by the call

For a deeper technical comparison, read our blog post on SMTP relay vs email API.

Belize scenarios

  • Guesthouse with a WordPress booking plugin: SMTP. Enter Mailpro’s server details in an SMTP plugin and confirmations stop coming from a shared host’s reputation.
  • Tour operator building its own booking site: the API, so each confirmation, reminder and review request is tracked and the guest is added to the right marketing list, with consent recorded separately.
  • Importer sending invoices from accounting software: SMTP, because the accounting package already knows how to use it.
  • Bank or insurer with a core system and a mobile app: the API for event-driven alerts, often paired with SMS to +501 numbers for time-critical messages.

Using both

Many businesses end up with both: SMTP for legacy tools and the API for new projects. Both run on the same Mailpro account, with the same authenticated domain and statistics. Whichever route you choose, set up SPF, DKIM and DMARC on your domain first. Gmail and Yahoo now require authentication from bulk senders, as explained in our article on Gmail and Yahoo sender requirements.

Compliance does not depend on the channel

SMTP and API emails carry the same personal data, so the same rules apply. Belize’s Data Protection Act, 2021 expects data leaving the country to be adequately protected, and the Electronic Transactions Act, 2021 requires online sellers to show who they are and how to reach them. Mailpro processes both kinds of traffic in Switzerland, outside US jurisdiction, with TLS 1.3 encryption. More detail is on our Belize email API page and in the API statistics guide.

Documentation and resources for developers

All the technical documentation of the Mailpro APIs lives on the developer portal: Email API v2, CRM API v3 and SMS API, described endpoint by endpoint (OpenAPI), in English and five other languages.

  • Delivery tracking of transactional emails — every single send returns an identifier; GET /Send/{id}/Status tells you whether it is queued, sent, delivered, deferred or bounced. In detail.
  • Webhooks — three directions: Mailpro notifies you (email delivered, bounce, new contact…), your automations call your tools, an external tool triggers an automation. The three types of webhooks · reference.
  • Frequently asked questions — authentication, limits, attachments, Zapier / Make / n8n: API & Webhooks FAQ.

Overview of the three APIs and code samples: the Mailpro API page.

Connect your app to Mailpro from Belize

Send transactional and marketing email through a REST API, with delivery statuses and webhooks. Start free with 500 credits.