Set up domains
Live keys send only from domains you own. You add the domain, set a few DNS records and Sendtide checks them. After that your email arrives with a DKIM signature and your own sender domain.
Steps
- Add the domain, in the dashboard or through the API.
- Set the DNS records from the answer at your DNS provider.
- Let Sendtide check them. As soon as
statusisverifiedyou may send from any address on this domain.
curl https://api.sendtide.ch/v1/domains \
-H "Authorization: Bearer $SENDTIDE_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "name": "example.com" }'
The answer lists every record under records with type, name, value and purpose (purpose). Tip: use a subdomain such as mail.example.com if you need your main domain for other things. The number of domains depends on the plan (Free 1, Start 5, Business and Scale unlimited).
Important: A domain that is not verified within 7 days is released by Sendtide. This stops anyone from blocking a name they do not own. Set the records right away. After a release you can add the domain again.
A name that is already added to any account answers 409 domain_exists. Reserved names (sendtide.ch and subdomains) answer 422 domain_reserved.
The DNS records
| Purpose | Type | Name | Value |
|---|---|---|---|
dkim (3 records) |
CNAME | <token>._domainkey.example.com |
<token>.dkim.amazonses.com |
bounce |
MX | the MAIL FROM domain (mail_from) |
feedback-smtp.…amazonses.com, priority 10 |
spf |
TXT | the MAIL FROM domain (mail_from) |
v=spf1 include:amazonses.com ~all |
dmarc (optional) |
TXT | _dmarc.example.com |
v=DMARC1; p=none; |
The exact names and values for your domain are always in records of the API answer. Copy them from there.
DKIM
Three CNAME records that let Sendtide sign your email on behalf of your domain. Receivers check the signature against your DNS record and see that the email really comes from you. dkim_status shows the state.
MAIL FROM and SPF
This is the technical sender address (envelope from) that bounces go to. Sendtide sets it to a subdomain of your domain (field mail_from), with its own MX and SPF record. That way SPF and DKIM match your sender domain (alignment), which DMARC requires. mail_from_status shows the state.
DMARC
The _dmarc record is optional, but Gmail, Yahoo and Microsoft expect it from senders with real volume. The suggested value v=DMARC1; p=none; only observes. Sendtide can collect the reports for you: add the rua address from records to the record (mailto:dmarc+<token>@…). Then
curl "https://api.sendtide.ch/v1/domains/example.com/dmarc?days=30" \
-H "Authorization: Bearer $SENDTIDE_API_KEY"
returns the pass rate per day (DKIM or SPF passed and aligned), the sources that send as your domain and fail, and the record you should publish, merged with what is in DNS now. days goes from 1 to 90.
A sensible path: read reports with p=none for a week or two, sort out unknown senders, then tighten to p=quarantine and finally p=reject.
Verify
Sendtide keeps checking domains that are still pending. With POST /v1/domains/{id}/verify (name or dom_ id) you start a check at once. DNS changes take minutes to hours, depending on the provider. If status is failed afterwards, compare name and value character by character. Common mistakes:
- The DNS provider appends the domain automatically. Then you enter
abc._domainkeyinstead ofabc._domainkey.example.com, otherwise DNS holdsexample.com.example.com. - A proxied CNAME (for example the “orange cloud” at Cloudflare). DKIM CNAMEs must be “DNS only”.
- An existing SPF record on the MAIL FROM subdomain. Only one SPF TXT record may exist on a name.
If a verified domain later stops matching, Sendtide can warn owners and admins by email (configurable with settings.alerts.domain).
Tracking domain
For open and click tracking Sendtide uses its own address by default. With your own tracking domain (Business plan and up) your links carry your own subdomain, which builds trust and helps deliverability:
curl -X PATCH https://api.sendtide.ch/v1/domains/example.com \
-H "Authorization: Bearer $SENDTIDE_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "tracking_domain": "track.example.com" }'
The tracking domain is a subdomain of the verified domain. records now has a new entry with purpose tracking: a CNAME from track.example.com to the value shown. tracking_status changes from pending to verified. An empty string removes the tracking domain. More in Tracking.
Turn on receiving
{"inbound": true} in the same PATCH turns receiving on. That adds an MX record, see Inbound email.
BIMI
BIMI shows your logo next to the email in the inbox. Sendtide can only check whether your domain is ready:
curl https://api.sendtide.ch/v1/domains/example.com/bimi \
-H "Authorization: Bearer $SENDTIDE_API_KEY"
The requirements:
- DMARC with
p=quarantineorp=rejectat 100 percent (pct=100) - a logo as SVG Tiny PS that you publish yourself at an HTTPS address
- at Gmail and Apple Mail also a VMC certificate (Verified Mark Certificate) from a certificate authority
The answer says what already fits, what is missing and which TXT record (default._bimi) to set.
Remove a domain
DELETE /v1/domains/{id} removes the domain and, if Sendtide created it, its identity at the mail provider. A key that was restricted to this domain can no longer send from it.