Skip to main content

Send application mail

A sending package lets your applications send mail through Hosting over SMTP: receipts, password resets, notifications. It works like any SMTP sending service. You keep your mailboxes where they are, for example Google Workspace or Microsoft 365, and only your application's mail goes through us.

Your existing email is not touched

You add no MX record and change none. Mail to your domain keeps arriving where it arrives today, and your current mailboxes keep sending the way they do now. You do not need a Hosting mailbox or the Hosting email service.

Setting it up is four jobs, in this order:

  1. Order a sending package.
  2. Register your domain as a sender.
  3. Publish the DNS records.
  4. Create an SMTP credential and put it in your application.

If sending is already set up, check the published DNS records, review usage and limits, or look up the recipient's outcome.

The application mail examples show how to submit the same receipt over SMTP or HTTPS and read the company and message delivery reports with curl.

Ordering, cancelling and credentials need email-management permission in your company. The terminal examples use hostingctl with a company called acme. Every change there needs --confirm; --dry-run describes the change and sends nothing.

Order a sending package​

A package is a number of emails your applications can send each month. Packages run month to month. A company holds one package at a time, and sending needs one in service.

PackagePrice a month, including VATSends from
10,000 emails a monthR350Our shared sending addresses
50,000 emails a monthR550Our shared sending addresses, or its own dedicated pair at no extra charge
100,000 emails a monthR850Its own dedicated pair of sending addresses

The panel shows the price your company is charged before you order. One email is one recipient: a message to three people counts as three.

What "shared sending addresses" means. Your mail leaves from addresses that other Hosting clients also send from. Mailbox providers such as Gmail and Outlook trust an address by how much good mail they have seen from it. At lower volumes a shared address has a stronger reputation than one used by you alone, so more of your mail reaches the inbox.

In the panel:

  1. Open Email, then Sending and access.
  2. Under Sending package, find the package you want. Each one shows its monthly price and whether the price includes VAT.
  3. Choose its order button and confirm. The confirmation repeats the price before anything is charged.

A package on our shared addresses is in service, and charged, from the moment you order it. A package whose price has not been published yet is listed as not yet available and cannot be ordered.

A dedicated pair of addresses. A dedicated pair is one IPv4 and one IPv6 address that only your company's mail leaves from. It comes with the 100,000 package, and with the 50,000 package if you choose it; the 10,000 package always sends from our shared addresses.

  • It is allocated automatically. Ordering reserves a pair from our pool there and then. Nobody has to approve it, and you publish no extra DNS for it.
  • The package is in service, and charged, once the pair is ready. That normally takes a few minutes. Until then the panel says what the pair is still waiting for.
  • If no pair is free, the order is refused. Nothing is reserved or charged; contact support.
  • On the 50,000 package you can switch to a dedicated pair, or back to our shared addresses, at any time under Sending package, with no DNS change. Your mail keeps leaving from the shared addresses until the pair is ready.
  • Cancelling returns the pair to our pool. So does switching back to shared addresses. Mail already queued is sent from the pair first.

A dedicated pair suits steady sending of a few thousand emails a day, and a new address starts slowly while it builds its reputation.

In a terminal:

hostingctl email sending-packages --company acme
hostingctl email sending-order place --company acme --package email_sending_10k --dry-run
hostingctl email sending-order place --company acme --package email_sending_10k --confirm
hostingctl email sending-order place --company acme --package email_sending_50k --addresses dedicated --confirm
hostingctl email sending-order addresses <order-uuid> --company acme --addresses shared --confirm
hostingctl email sending-order list --company acme
hostingctl email sending-order show <order-uuid> --company acme
hostingctl email sending-ip list --company acme

The package keys are email_sending_10k, email_sending_50k and email_sending_100k. --addresses is shared or dedicated, for a package that offers the choice. sending-ip list shows the dedicated pair your company holds and whether it is ready. place prints a request key. If the answer is lost, run place again with --request-key and that key: you get the order you already made, not a second one.

To move to a different package, cancel the current one and order the other.

Register your domain as a sender​

Your application sends from an address at a domain you own, such as receipts@example.com. Hosting needs to know the domain is yours and to prepare a signing key for it. You can register more than one domain, and a subdomain such as news.example.com works too.

  1. Claim the domain and prove you own it. See Domains. Proving ownership uses one TXT record; it does not move your DNS or your mail.
  2. In Domains, open the domain's Services view.
  3. Under Hosting sender, choose Request sender setup and enter the From address your application will use.
  4. Choose Refresh sender status until the status stops saying it is waiting for the relay. Check sender DNS appears once the domain's signing key is ready.

In a terminal, with the domain's UUID from hostingctl domain list:

hostingctl email sending-domain add <domain-uuid> --company acme --from-address receipts@example.com --confirm
hostingctl email sending-domain show <domain-uuid> --company acme

After registering your sender, keep the domain claimed by your company. Releasing the claim ends your permission to send from the domain.

Publish the DNS records​

If Hosting serves your DNS, sender setup adds missing DKIM and return-path records when it can establish that the names are free in your company's managed zone. It leaves existing records in place. Use the DNS check below to see what still needs attention.

For records that still need to be added, use the provider that hosts your domain's DNS.

RecordTypeNameValue
DKIMTXTrelay._domainkey.<your domain>The signing key the check shows
Return pathCNAMEbounce.<your domain>The Hosting return-path host the check shows
DMARCTXT_dmarc.<your domain>A DMARC policy; yours is accepted if you already have one
SPFTXT<your domain>Add include:spf.hosting.haak.co to the SPF record you already have

What each one is for:

  • DKIM lets receivers verify that a message from your domain was signed by us on your behalf.
  • Return path gives your domain a bounce address whose sending policy we keep up to date.
  • SPF tells receivers that our servers may send mail for your domain. A domain has one SPF record, so add include:spf.hosting.haak.co to the one you have, before its final all term, and keep the terms for every other service that sends your mail. For example v=spf1 include:_spf.google.com include:spf.hosting.haak.co ~all. If your domain has no SPF record, publish v=spf1 include:spf.hosting.haak.co ~all. That one name covers everything Hosting sends for you, and we keep the addresses behind it current, so it stays the same if you move to a dedicated pair.
  • DMARC tells receivers what to do with mail that fails those checks. If you have none, publish the policy the check shows. We recommend adding a rua= address so you receive reports, and tightening a p=none policy to quarantine or reject only once those reports show all your legitimate mail passing. An existing policy is accepted whatever it enforces, as long as it uses relaxed SPF alignment, which is the default. A policy that sets aspf=s is not accepted. A subdomain sender with no record of its own is covered by its parent domain's record, so news.example.com needs nothing new if example.com already publishes DMARC. Publish only one DMARC record per name.

To see the exact values and check what is published:

  1. In the same Hosting sender section, choose Check sender DNS.
  2. Leave Sending relay on Hosting relay and choose Check published records.
  3. Review DKIM, the return path, your domain's SPF and DMARC. Each check shows what Hosting expects and what it found in DNS. If the domain's SPF is missing the Hosting include, add it to the existing policy as shown above. Keep the terms that authorize your other mail providers.
hostingctl email sending-dns --company acme --sender example.com

In the panel, "Record missing" means nothing is published at that name yet. "DNS answer unavailable" means the check could not read your DNS just then; it is not a failure, so run the check again. DNS changes can take a while to appear, depending on your provider.

Wait for the checks to pass before you send real mail. Receivers may refuse a message or put it in spam when its authentication records are missing or wrong.

Create an SMTP credential​

An SMTP credential is a username and password your application signs in with. It belongs to your company, not to one domain: it can send from any address at every sender domain you have registered and proven. Create one for each application, so you can rotate or revoke it without touching the others.

  1. Open Email, then Sending and access.
  2. Under SMTP credentials, choose Add SMTP credential.
  3. Name the application that will use it, then choose Create SMTP credential.
  4. Copy the password now. It is shown once and cannot be shown again.

The same panel shows the connection settings with the password:

SettingValue
Hostmail4.hosting.haak.co, shown with your credential
Port465 with SSL/TLS from the start of the connection (implicit TLS), or 587 with STARTTLS
LoginThe generated username shown with your credential
PasswordThe generated password

The panel shows the secure ports available on the credential's relay. Use 587 with STARTTLS when it is listed and your application or network needs it. Both ports require the login and an encrypted connection, and the standard relay answers over IPv4 and IPv6.

Things to know:

  • The login is a sign-in name only. It is not a mailbox and not an address at your domain.
  • The From address your application uses must be at one of your registered sender domains.
  • A new credential can take a minute or two before it may send.
  • Creating a credential is refused until a sending package is in service.
  • A company can hold up to 50 active credentials.

In a terminal:

hostingctl email sending-credential smtp issue --company acme --name "Order notifications" --confirm
hostingctl email sending-credential smtp list --company acme
hostingctl email sending-credential smtp rotate <credential-uuid> --company acme --confirm
hostingctl email sending-credential smtp revoke <credential-uuid> --company acme --confirm

issue and rotate print the host, supported ports, login and password. The list never shows a password.

Rotate a credential when its password may have leaked or you have lost it. The old password stops working immediately and the new one is shown once, so update the application before it sends again.

Revoke a credential when the application no longer needs it. It stops working at once and this cannot be undone; create a new credential instead. The list keeps a revoked credential's name and login so past sending stays traceable.

Send over HTTPS from a template​

You need an active sending package and a verified sender. A company member with email management permission can publish a template. Use your application's company-scoped sending credential to submit the message.

  1. Open Email, then Sending and access, then Templates. Enter the subject, inbox preview text, MJML source, and plain-text version.
  2. Use {{first_name}} where a value belongs. Add a sample value for every named variable.
  3. Choose Preview template, check the result, then choose Publish revision. If you edit the draft, preview the edited version before publishing. Copy the published revision.

Save the request below as receipt.json. Replace the addresses with your verified sender and an address you control, and replace YOUR_PUBLISHED_REVISION with the copied revision.

{
"from": "receipts@example.com",
"recipients": ["you@example.net"],
"template": {
"revision": "YOUR_PUBLISHED_REVISION",
"slots": { "first_name": "Sam" }
}
}

Set HOSTINGCTL_EMAIL_SENDING_TOKEN from your application's send-only credential and HOSTINGCTL_API_URL to the Hosting HTTPS API URL. The token selects the company.

hostingctl email submit --file receipt.json --idempotency-key receipt-42 --confirm

Reuse the same key and request when retrying the same submission. For a different message, use a new key. Publishing a new revision leaves existing submissions pinned to their original content. The submission receipt identifies the message so you can check the recipient's delivery outcome.

What a package allows​

The monthly allowance does not stop your mail. Passing it costs extra, up to a cap you control.

PackageIncluded a monthDefault monthly capMost recipients in any hour
10,000 emails a month10,00020,000100
50,000 emails a month50,000100,000500
100,000 emails a month100,000200,0001,000
  • We email your company's billing address when the month reaches 80% of the allowance and again at 100%. Each notice is sent once a month.
  • Above the allowance, sending continues and the extra emails are billed in blocks of 1,000 on that month's invoice, at R25 per 1,000 emails including VAT. If you send past your allowance most months, the next package costs less than the extra emails.
  • At the cap, sending stops. New mail is refused until the next month, or until you raise the cap or move to a larger package. A new package starts with a cap of twice its allowance, so a runaway application cannot build an unbounded bill. You can set the cap to any figure from the allowance upwards.
  • The hourly limit stops a burst. When a submission would exceed the rolling-hour recipient limit, the relay temporarily refuses it after DATA. Look for 451 4.7.1 company rolling-hour recipient budget reached. Keep that message in your application's queue and retry later, when the rolling hour has room.
  • A new package starts slowly. For its first three days it may send a quarter of its hourly limit, then half until day seven, then the full limit. This protects the reputation of a new sender.
  • Too many bounces pause sending on our shared addresses. If more than 10% of at least 100 recipients bounced in the last 24 hours, sending is paused, because those addresses carry other clients' mail too. Remove the addresses that do not exist from your lists, then contact support to resume.

Open Email, then Sending and access. Under Sending package, look for Usage and limits. The panel shows this billing month's usage and cap, the current hourly limit, and the next automatic increase during a paced start. If you can manage email for the company, choose Change monthly cap and then Save cap. The new cap must be at least the package's included recipients.

To read the same limits or change the cap in the terminal:

hostingctl email sending-usage --company acme
hostingctl email sending-order cap <order-uuid> --company acme --monthly-cap 30000 --confirm

Keep your mail out of spam​

We deliver your mail to the receiving server. Whether it lands in the inbox depends mostly on what you send and to whom.

  • Authenticate. Publish the DNS records and keep them passing. Use a From address at the domain you registered, so SPF, DKIM and DMARC all line up with it.
  • Send only to people who asked. Never use a bought, rented or scraped list.
  • Keep bounces and complaints low. Remove an address as soon as it bounces as not existing, and stop mailing anyone who marks you as spam. Large providers expect spam complaints well under 0.3%.
  • Use one consistent From domain for each kind of mail, and keep bulk mail on a subdomain such as news.example.com so it cannot harm your receipts and password resets.
  • Give bulk mail an unsubscribe. Put a working unsubscribe link in every marketing or newsletter message, and honour it at once.
  • Ramp up gradually on a new dedicated pair. A new address has no reputation. Start with your most engaged recipients and increase the daily volume over a few weeks; do not send the full volume on the first day.

For one-click unsubscribe on mail sent directly over SMTP, configure your campaign tool to add both headers. Replace the example URL with the tool's HTTPS endpoint for that subscriber and list.

List-Unsubscribe: <https://news.example.com/unsubscribe/subscriber-token>
List-Unsubscribe-Post: List-Unsubscribe=One-Click

The endpoint must handle the unsubscribe POST without a sign-in or redirect. Verify in the received message that a valid DKIM signature covers both headers. Keep the visible unsubscribe link in the message and have the campaign tool stop future mail to the unsubscribed recipient.

An address that hard-bounces over SMTP is added to your company's suppressed recipients so you can see it. Mail sent over SMTP is not blocked for an address on that list, so remove it from your own lists too.

See what happened to a message​

Open Email, then Sending and access, and find Sending activity. It lists the messages recorded on one day, newest first, with the From address and the credential that sent each one. Choose Show outcomes on a row to open that message.

Each recipient of a message has one status:

StatusMeaning
QueuedWe have the message and have not sent it on yet
SentIt has left for the receiving server
DeliveredThe receiving server accepted it
DeferredThe receiving server asked us to try later; we are retrying
BouncedIt will not be delivered

An opened message also shows:

  • the recipient address;
  • the From address your application used;
  • the SMTP credential that sent it;
  • Connected from: the network address your application connected from;
  • the receiving server's reply, which is the reason to read first for a deferred or bounced message.

Delivered means the receiving server took the message. It does not tell you which folder the recipient's provider put it in.

On an opened message, choose Custd delivery report to see the latest outcome Custd has recorded for each reported recipient ID. Check the report's freshness and completeness when comparing it with the sending activity above. A recipient missing from the report has no outcome shown there yet.

hostingctl email sending-activity list --company acme
hostingctl email sending-activity list --company acme --date 2026-11-21
hostingctl email sending-activity "$MESSAGE_UUID" --company acme

Sending activity is kept for 30 days, on every package. Older messages are deleted and can no longer be looked up.

Days are UTC calendar days. For reading other days and continuing a long day, see Look up sending activity.

To group messages such as Invoice_2026, send the optional tag field over HTTPS or add one X-Hosting-Email-Tag: Invoice_2026 header to a message submitted over authenticated SMTP. Hosting removes the SMTP header before forwarding the message. Use 1 to 64 letters, digits, underscores or hyphens. A tag is case-sensitive and stays with the message on retry. In Sending activity, enter the exact tag and choose Filter by tag to see its messages for the selected UTC day.

hostingctl email sending-activity list --company acme --date 2026-11-21 --tag Invoice_2026

Export the delivery report​

In Delivery report, choose a date range and narrow the totals by Message tag, Delivery route, or both. Prepare CSV uses the same date range and filters. Messages with no recorded route are included when the route filter is cleared.

hostingctl email delivery-report --company acme --days 14 --tag Invoice_2026 --route dedicated
hostingctl email delivery-report-export create --company acme --days 14 --tag Invoice_2026 --route dedicated --confirm

Open Email, then Sending and access, and choose Delivery report. Pick a Date range and choose Download CSV for the same daily accepted, deferred and failed counts shown in the panel. Check the report's freshness and completeness before using the figures. An outcome counts each time it is recorded, so a deferred recipient that is later accepted can appear in both counts.

Receive signed delivery events​

With an active sending package and permission to manage email, register one HTTPS destination for your company. The API paths below are relative to /api/v1/c/{company}/email.

ActionMethod and pathRequest fields
RegisterPOST /delivery-webhookendpointUrl, issuanceRequestKey
Read the current generationGET /delivery-webhookNone
Replace the destination or rotate the signing secretPUT /delivery-webhookendpointUrl, a new issuanceRequestKey, and expectedGeneration from the read
RevokeDELETE /delivery-webhookNone
Redeliver a recorded eventPOST /delivery-webhook/generations/{generationUuid}/events/{eventUuid}/replayNone

Use a fresh UUID for each issuance request. Store the returned signingSecret with your application's credentials. If the issuance response is lost, repeat the same request. Ordinary reads return no secret. Replacement starts a new generation and stops retries from the previous one.

hostingctl email delivery-webhook create --company acme --endpoint-url https://app.example.com/delivery \
--issuance-request-key <request-uuid> --confirm
hostingctl email delivery-webhook show --company acme
hostingctl email delivery-webhook replay --company acme --generation-uuid <generation-uuid> \
--event-uuid <event-uuid> --confirm

Verify the signature against the raw request body before processing it. Join Webhook-Id, Webhook-Timestamp, and the raw body with periods. Compute HMAC-SHA-256 using the returned secret as text, Base64-encode the digest, and compare it in constant time to the value after v1, in Webhook-Signature. Reject stale timestamps and use Webhook-Id to process each event once.

Return a 2xx status after recording the event. Hosting retries other responses and connection failures with backoff, up to eight attempts. Redelivery keeps the original event ID and signs it again with a fresh timestamp. The body contains opaque IDs and a delivery outcome. A remote_accepted outcome means the remote mail server accepted the message.

Cancel a package​

  1. Open Email, then Sending and access.
  2. Under Sending package, choose Cancel this package and confirm.
hostingctl email sending-order cancel <order-uuid> --company acme --confirm

What cancelling does:

  • Sending stops. Within about a minute, your SMTP credentials can no longer send, and a new credential cannot be created.
  • The charge stops at the moment you cancel.
  • A dedicated pair goes back to our pool once its queued mail has been sent. A later order is given whichever pair is free then, which may be a different one.
  • Your credentials are kept. They are not revoked and their passwords do not change.
  • Your sender domains and DNS records stay as they are.

To start sending again, order a package. Your existing credentials work again within a minute or two, with the same passwords, so your applications need no change.

Getting help​

If your DNS check fails, open Check sender DNS and compare each reported record with the records at your DNS provider. For a delivery problem, open Sending activity and read the receiving server's reply.

If the checks do not resolve the problem, email support@haak.co. We respond within one business day. Include the sender domain and, for a delivery problem, the message ID and the receiving server's reply. See Support for what else to include.