mitteramittera

Go

Send with Go.

POST the JSON to the emails endpoint. Any HTTP client works. We will ship a first-party package when it is ready — not before.

There is no first-party package for this language yet. The REST API is the same from any stack.

Get started
1POST https://api.mittera.eu/api/emails2Authorization: Bearer mt_xxxxxxxxx3Content-Type: application/json45{6  "from": "hello@acme.com",7  "to": "you@acme.com",8  "subject": "Hello from mittera",9  "html": "<strong>it arrived.</strong>"10}
req, _ := http.NewRequest(
  "POST",
  "https://mittera.eu/api/emails",
  strings.NewReader(`{
    "from": "hello@acme.com",
    "to": "you@acme.com",
    "subject": "Hello from mittera",
    "html": "<strong>it arrived.</strong>"
  }`),
)
req.Header.Set("Authorization", "Bearer mt_xxxxxxxxx")
req.Header.Set("Content-Type", "application/json")
resp, err := http.DefaultClient.Do(req)

Ready when you are.

Create an account, verify a domain, send the first one.