Initial commit: Grav CMS setup with HTML reference material
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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 |
|
||||
Reference in New Issue
Block a user