mailcow-dockerized/data
Mohammad Reza Tayyebi (on Dell Latitude) 1ad55ddf76
feat(api): Add SMTP over HTTP REST API endpoint
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
2026-01-01 16:48:37 +04:00
..
assets Merge pull request #6223 from mailcow/ffdhe2048 2025-02-12 10:48:22 +01:00
conf rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958) 2025-12-11 09:45:56 +01:00
Dockerfiles Add MTA-STS support for alias domains (#6972) 2025-12-15 16:29:21 +01:00
hooks [SOGo] Added hooks support for SOGo image (#4181) 2021-07-28 21:41:44 +02:00
web feat(api): Add SMTP over HTTP REST API endpoint 2026-01-01 16:48:37 +04:00