---
title: "Test mail (direct to provider)"
method: POST
path: "/v1s/test/send"
tags: ["Engine — Test"]
---

# Test mail (direct to provider)

`POST /v1s/test/send`

## Request

- Base URL: `https://orbitus.netcorecloud.com`
- URL: `https://orbitus.netcorecloud.com/v1s/test/send`
- Auth: none required

Send a test email directly to a provider, **bypassing rules and routing**.
For diagnostic use only. No API key authentication required.

Provider detection is based on the `host` URL:
- `pepipost.com` → Netcore format
- `sendgrid.com` → SendGrid format
- Other → `400 Bad Request`

## Request body

- TestSendRequest
  - `from` string, email, required
  - `to` string, email, required
  - `api_key` string, required: Provider API key (sent directly to provider).
  - `host` string, uri, required: Provider endpoint URL. Provider detection: `pepipost.com` → Netcore, `sendgrid.com` → SendGrid, other → 400.

## Response `200`

Test email sent; includes raw provider response.

- TestSendResponse
  - `provider` string
  - `status_code` string
  - `response` string: Raw provider response body.

## Other responses

- `400`: Unsupported provider host or missing fields.

---

[API](https://skmtc.dev/netcorecloud/apis/orbit-router.md) - [All operations](https://skmtc.dev/netcorecloud/apis/orbit-router/llms.txt) - [OpenAPI document](https://skmtc.dev/netcorecloud/apis/orbit-router/revisions/680f0a8ab1a3?raw)
