Send Your First Transactional Email
Transactional email is the email your own application sends to one person at a time: order confirmations, password resets, sign-in links, invoices and account notifications. In Mumara ONE it goes through a Bridge. This quick start gets your first message out, over SMTP or the HTTP API.
You need an Active sending domain for the From address. If you haven't set one up yet, see Sending Domains.
1. Check your sending domain
Go to Setup → Sending Domains and make sure the domain you'll send from shows as Active. The From address of every transactional email must be on one of your verified sending domains, and the match is exact: to send from alerts@mail.example.com, verify mail.example.com itself.
2. Create a Bridge
- Go to Transactional → Bridges and click Create a Bridge.
- Enter a Name you'll recognise, such as
Order emails. - Choose a Pool. On plans with dedicated infrastructure, pick the pool you set aside for transactional email, so it never shares a reputation with your marketing campaigns. See Dedicated Pools.
- Click Create.
The credentials appear straight away, under Method 1: Send via SMTP and Method 2: Send via API. You can come back to them at any time by clicking the Bridge's name. See Bridges for everything a Bridge can do.
Anyone with a Bridge's credentials can send email as you. Keep them in environment variables or your platform's secrets store, never in source code or browser JavaScript.
3. Send a message
Pick whichever suits your application. Both go through the same Bridge.
Over SMTP
Most frameworks, e-commerce platforms and CMS plugins have SMTP settings. Enter:
| Setting | Value |
|---|---|
| Host | The Host shown on the Bridge |
| Port | 587 |
| Encryption | STARTTLS (shown on the Bridge as TLS) |
| Username | The Bridge's Username |
| Password | The Bridge's Password |
Then send a test email from your application, with a From address on your verified domain. SMTP Settings has the other ports, the rules each message follows, and PHPMailer and Nodemailer examples.
Over the HTTP API
Copy the One Connect Key from the Bridge's Method 2: Send via API panel, then send one request:
curl -X POST https://api.mumara.com/sendEmail \
-H "Authorization: Bearer YOUR_ONE_CONNECT_KEY" \
-H "Content-Type: application/json" \
-d '{
"from": "Example Store <orders@example.com>",
"to": "you@example.com",
"subject": "Hello from Mumara ONE",
"html": "<html><body><p>It works.</p></body></html>"
}'
A response with "status": "success" means Mumara ONE accepted the message for delivery. Sending API covers every field, attachments and errors.
4. Check the result
- On Transactional → Bridges, click the chart icon in the Bridge's Sending Stats column to see its sent, delivered, bounced and complaint totals.
- Analytics shows each message in the delivery logs, with what the receiving server said.
If the message didn't arrive, check your spam folder first, then the delivery logs.
If the message is refused
| The error mentions | What to do |
|---|---|
is not authorized to relay emails | The From domain isn't one of your verified sending domains. Verify it, or change the From address. |
535, or Invalid login | The username, password or key wasn't copied exactly. Copy it again from the Bridge. |
| The server doesn't offer authentication | Your SMTP client isn't encrypting the connection. Set it to STARTTLS on port 587. |
Insufficient transactional credits | Your transactional allowance has run out. See Plan and Usage. |
Next steps
- Bridges: tracking switches, sending stats, exporting and rotating credentials
- Dedicated Pools: keep transactional email on its own IPs
- Send your first campaign: send marketing email to a contact list