Send a test email using the project's saved SMTP config
Changed onSends a diagnostic email to to_email using the project's persisted auth_config SMTP credentials. If html_body or text_body is supplied, the override path is taken: those values (plus optional subject) are rendered through html/text templates against the project's Data and used as the body — used by the template editor's "Send Test" affordance to preview an unsaved template. With both bodies omitted, a hardcoded diagnostic message is sent and any subject field is ignored. Sending subject alone (no bodies) is rejected with 400 to avoid a silently-dropped subject or a blank message. Also rejects with 400 if email_enabled=false or smtp_host is empty.
Request
- Base URL: https://api.volcano.dev
- URL: https://api.volcano.dev/projects/{id}/auth/config/test-email
- Auth: one of:
- HTTP bearer
- HTTP bearer
Path parameters
Project ID
Request body
Response
Test email sent
Changes
- ○
the endpoint scheme security
ProjectAccessTokenwas added to the API
- ○
- ▲
added the new path request parameter
id - ▲
added the new required request property
- ▲
the request's body type changed from no type to
object - ▲
the response's body type changed from no type to
objectfor status - ○
added the new optional request property
- ○
added the new optional request property
- ○
added the new optional request property
- ○
added the required property
to the response with the status
- ▲