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 |
||
|---|---|---|
| .. | ||
| favicon-16x16.png | ||
| favicon-32x32.png | ||
| index.css | ||
| index.html | ||
| oauth2-redirect.html | ||
| openapi.yaml | ||
| swagger-initializer.js | ||
| swagger-ui-bundle.js | ||
| swagger-ui-bundle.js.map | ||
| swagger-ui-es-bundle-core.js | ||
| swagger-ui-es-bundle-core.js.map | ||
| swagger-ui-es-bundle.js | ||
| swagger-ui-es-bundle.js.map | ||
| swagger-ui-standalone-preset.js | ||
| swagger-ui-standalone-preset.js.map | ||
| swagger-ui.css | ||
| swagger-ui.css.map | ||
| swagger-ui.js | ||
| swagger-ui.js.map | ||