Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/meysam81/lori
Receive mails in SMTP and send it to SendGrid (SendGrid has support for SMTP already!)
https://github.com/meysam81/lori
cli email mail sendgrid smtp-server stmp utility
Last synced: 10 days ago
JSON representation
Receive mails in SMTP and send it to SendGrid (SendGrid has support for SMTP already!)
- Host: GitHub
- URL: https://github.com/meysam81/lori
- Owner: meysam81
- License: apache-2.0
- Created: 2023-08-19T15:18:18.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-19T18:03:48.000Z (18 days ago)
- Last Synced: 2024-10-20T06:46:42.699Z (18 days ago)
- Topics: cli, email, mail, sendgrid, smtp-server, stmp, utility
- Language: Rust
- Homepage:
- Size: 69.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lori
[![Code Size](https://img.shields.io/github/languages/code-size/meysam81/lori)](https://github.com/meysam81/lori)
[![Repo Size](https://img.shields.io/github/repo-size/meysam81/lori)](https://github.com/meysam81/lori)
[![Docs](https://img.shields.io/badge/docs-rs/lori?logo=docs.rs&label=docs.rs)](https://crates.io/crates/lori)
[![Language Count](https://img.shields.io/github/languages/count/meysam81/lori)](https://github.com/meysam81/lori)
[![Commit Intervals](https://img.shields.io/github/commit-activity/m/meysam81/lori)](https://github.com/meysam81/lori/commits)
[![Last Release](https://img.shields.io/github/release-date/meysam81/lori?label=last%20release)](https://github.com/meysam81/lori/releases)
[![GitHub Stars](https://img.shields.io/github/stars/meysam81/lori?label=GitHub%20stars)](https://github.com/meysam81/lori/stargazers)
[![GitHub Release Downloads](https://img.shields.io/github/downloads/meysam81/lori/total?label=GitHub%20Release%20Downloads)](https://github.com/meysam81/lori/releases)
[![Cargo Crate](https://img.shields.io/crates/v/lori)](https://crates.io/crates/lori)
[![Crate Download](https://img.shields.io/crates/d/lori?label=crate%20download)](https://crates.io/crates/lori)
[![Docker pulls](https://img.shields.io/docker/pulls/meysam81/lori?label=Docker%20pulls)](https://hub.docker.com/r/meysam81/lori)
[![Docker Image](https://img.shields.io/docker/image-size/meysam81/lori?label=Docker%20image)](https://hub.docker.com/r/meysam81/lori)
[![License](https://img.shields.io/github/license/meysam81/lori)](https://github.com/meysam81/lori)
[![Lines of Code](https://img.shields.io/tokei/lines/github/meysam81/lori?label=lines%20of%20code)](https://github.com/meysam81/lori)**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [lori](#lori)
- [Intro](#intro)
- [How to install it?](#how-to-install-it)
- [Using cargo](#using-cargo)
- [Download compiled binary](#download-compiled-binary)
- [Docker](#docker)
- [How to use it?](#how-to-use-it)
- [Todo](#todo)## Intro
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][sendgrid-smtp] is as below:
```plaintext
smtps://apikey:[email protected]:465/
```## How to install it?
### Using cargo
```bash
cargo install lori
```### Download compiled binary
You can download the latest release from the [releases page][release] for your
platform.### Docker
```bash
docker run -p 2525:2525 -e SENDGRID_API_KEY=your-api-key meysam81/lori
```## How to use it?
```bash
export SENDGRID_API_KEY=your-api-key
lori # listening on localhost:2525
```[sendgrid-smtp]: https://docs.sendgrid.com/for-developers/sending-email/getting-started-smtp
[release]: https://github.com/meysam81/lori/releases/latest## Todo
- [ ] The docker image is stopped after processing the first email!