Premiers pas
Quickstart
Send your first email with MailZone in about ten minutes.
Cette page est disponible en anglais.
MailZone is an email delivery platform: a REST API and SMTP relay for sending, signed webhooks and a searchable log for every event, and inbound routing for receiving. The /v3 API is wire-compatible with Mailgun, so existing SDKs work by changing the base URL to https://mailzone-api.oritool.com.
1. Create an account
Sign up and open the dashboard.
2. Add and verify a sending domain
Add a subdomain such as mg.example.com under Sending → Domains and publish the SPF and DKIM records shown there. Verification usually completes within minutes. See Domain & DNS setup.
3. Create an API key
Under Developers → API keys create a Sending only key for your application. The key is shown once. Authenticate with HTTP Basic using the user api and the key as password, or send Authorization: Bearer mz_….
4. Send a message
curl -s --user 'api:mz_your_api_key' \
https://mailzone-api.oritool.com/v3/mg.example.com/messages \
-F from='Acme <[email protected]>' \
-F to='[email protected]' \
-F subject='Welcome to Acme' \
-F html='<h1>Hi Jane 👋</h1><p>Thanks for signing up.</p>' \
-F o:tag='onboarding'The response contains the Message-ID. Open Logs to watch it move from accepted to delivered, or subscribe to webhooks.
Testing without delivering
Add o:testmode=yes to any request: the message is accepted and logged but never leaves MailZone. This works even before your domain is verified.