Crates.io | lori |
lib.rs | lori |
version | 0.3.0 |
source | src |
created_at | 2023-08-21 02:38:02.879162 |
updated_at | 2023-08-21 02:49:49.570843 |
description | A CLI utility that receives emails from SMTP and sends them to SendGrid. |
homepage | |
repository | https://github.com/meysam81/lori |
max_upload_size | |
id | 949653 |
size | 76,875 |
Table of Contents generated with DocToc
This is a simple SMTP server that receives mails and send it to SendGrid.
An improved version might include different incoming protocols and different outgoing integrations.
Note that SendGrid already supports receiving messages from SMTP, but I didn't find it before writing this app.
The format for sending an email through SMTP to SendGrid is as below:
smtps://apikey:SENDGRID_API_KEY@smtp.sendgrid.net:465/
cargo install lori
You can download the latest release from the releases page for your platform.
docker run -p 2525:2525 -e SENDGRID_API_KEY=your-api-key meysam81/lori
export SENDGRID_API_KEY=your-api-key
lori # listening on localhost:2525