mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-01-23 10:16:18 +00:00
Adds a new API endpoint POST /api/v1/send/email for sending emails programmatically via SMTP. Features: - Send emails with plain text and/or HTML body - Support for CC, BCC, and reply-to addresses - Base64 encoded file attachments - Configurable SMTP host, port, and authentication - Full validation of email addresses - Proper error handling with descriptive messages Files changed: - data/web/inc/functions.inc.php: Added smtp_api() function - data/web/json_api.php: Added 'send' action handler - data/web/api/openapi.yaml: Added endpoint documentation - data/web/lang/lang.en-gb.json: Added error/success messages |
||
|---|---|---|
| .. | ||
| assets | ||
| conf | ||
| Dockerfiles | ||
| hooks | ||
| web | ||