Skip to content
You're viewing documentation for v0.6.4. It may be out of date.Go to latest
Email SDK
Esc
↑↓navigate↵open⌘Jpreview
On this page

Scaleway

Send through Scaleway Transactional Email with region-scoped endpoints and header-based reply-to.

The Scaleway adapter calls the Scaleway Transactional Email API over fetch — no extra dependency. Sends are region-scoped: the adapter targets /regions/{region}/emails and defaults to fr-par.

Scaleway logo
Scaleway@opencoredev/email-sdk/scaleway
Provider docs

Configure

Create an IAM secret key in the Scaleway console, note your project ID, and verify the sending domain in Transactional Email.

PropType
secretKeystring

Scaleway IAM secret key, sent as the X-Auth-Token header.

Typestring
projectIdstring

Scaleway project ID the emails belong to.

Typestring
region?string

Transactional Email region used in the endpoint path.

Typestring
Default"fr-par"
baseUrl?string

Override the API origin, e.g. for a proxy.

Typestring
Default"https://api.scaleway.com"
fetch?typeof fetch

Custom fetch implementation for tests or special runtimes.

Typetypeof fetch

Send

Scaleway maps cc, bcc, replyTo, headers, and attachments.

replyTo travels as a Reply-To entry in Scaleway’s additional_headers. Setting both replyTo and a manual Reply-To header throws an EmailValidationError before any request — pick one.

Verify from the CLI

--region falls back to the SCALEWAY_REGION env var, then fr-par. Drop --dry-run for one real send to prove the key, project, region, and sender domain line up.

Last updated on