Versand
Sending API
Send transactional and batch email with POST /v3/{domain}/messages.
Diese Seite ist auf Englisch verfügbar.
Send a POST to https://mailzone-api.oritool.com/v3/{domain}/messages with form fields (or JSON). Every parameter of the Mailgun API is supported; see the reference for the full list.
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'Batch sending
Send one request to up to 1,000 recipients. With recipient-variables each recipient receives an individual copy (only their own address in To) and placeholders are substituted per recipient:
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 to='[email protected]' \
-F subject='Hi %recipient.first%' \
-F text='Your code is %recipient.code%' \
-F recipient-variables='{"[email protected]":{"first":"Alice","code":"A1"},"[email protected]":{"first":"Bob","code":"B2"}}'Attachments and inline images
Add files with attachment; embed images with inline and reference them as cid:filename in HTML. The total message size limit is 25 MB.
Scheduling and options
o:deliverytime— deliver later (up to 7 days).o:tag— up to 10 tags, used in analytics, events and tag-scoped unsubscribes.o:require-tls=yes— fail rather than deliver over an unencrypted connection.v:*— custom data echoed back in events and webhooks.
Delivery and retries
Temporary failures (4xx) are retried with exponential back-off for up to 72 hours, with per-provider throttling. Permanent failures (5xx) add the address to the bounce list so it is not retried.