(Grav GitSync) Automatic Commit from GitSync

This commit is contained in:
GitSync
2026-06-14 00:27:27 +00:00
parent a2920f812d
commit 3c1bfda80f
2933 changed files with 491625 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
---
title: Email
template: chapter
description: Send emails via the Grav API
taxonomy:
category:
- docs
---
The Email API allows you to send ad-hoc emails and test your email configuration programmatically. These endpoints are registered by the Email plugin via the Grav API plugin's extensibility system.
## Requirements
- [Grav API Plugin](https://github.com/getgrav/grav-plugin-api) must be installed and enabled
- Email plugin must be installed, enabled, and configured with a valid mailer
## Authentication
All email endpoints require the `api.system.write` permission.
## Available Operations
| Method | Endpoint | Description |
|--------|----------|-------------|
| POST | `/email/send` | Send an ad-hoc email |
| POST | `/email/test` | Send a test email to verify configuration |