Developed by @veeso
Current version: 0.2.1 (16/08/2024)
sesamo is a Rust web service which exposes an endpoint to send custom email to custom recipients.
cp .env.test .env
vim .env
EMAIL_SENDER=EMAIL_ADDRESS_CONFIGURED_TO_AWS_SES
LISTEN_URL=127.0.0.1:3001
PIDFILE=/var/run/sesamo.pid
AWS credentials must be configured with aws-cli with aws configure
.
Credentials are then automatically loaded from defined profile
cargo make -p production run
Check web service status:
GET /check
Response: Empty (200)
Send email to recipients with provided subject and body.
The body must be a BASE64 encoded HTML.
POST /send
Body:
{
"recipients": ["[email protected]", "[email protected]"],
"subject": "email subject",
"body": "BODY BASE64 ENCODED"
}
Response: Empty (200)
View sesamo's changelog HERE
sesamo is licensed under the MIT license.
You can read the entire license HERE