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

Scaleway

Configure the Scaleway Transactional Email adapter.

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

Scaleway Transactional Email supports address fields, headers, reply-to, and attachments. The adapter defaults to the fr-par region unless you pass a different region.

Before live sends

Create a Scaleway secret key, confirm the project ID and region, and verify the sending domain in Scaleway Transactional Email. If your project uses a region other than fr-par, pass region in code or SCALEWAY_REGION in the CLI environment.

Configure

Send

Scaleway maps replyTo as a Reply-To additional header. If you already set a Reply-To header manually, omit replyTo to avoid a validation error.

Send with an attachment

Options

Option Type Required Notes
secretKey string Yes Scaleway secret key.
projectId string Yes Scaleway project ID.
region string No Defaults to fr-par.
baseUrl string No Defaults to https://api.scaleway.com.
fetch typeof fetch No Useful for tests or custom runtimes.

Scaleway maps address objects, CC/BCC, attachments, custom headers, and replyTo through the Transactional Email REST API. Unsupported fields throw before the API call.

Response

The adapter maps Scaleway id or email_id to the normalized id field.

CLI smoke test

Last updated on