Skip to content
/ tginbox Public

Small server that listens for incoming SMTP email messages and forwards them to Telegram

License

Notifications You must be signed in to change notification settings

r3vn/tginbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tginbox

tginbox is a small Rust-based server that listens for incoming SMTP email messages and forwards them to a Telegram chat.

Building

tginbox can be built using cargo as follows:

$ cargo build --release

This will produce a single executable file in the target/release directory.

Usage

Multiple accounts can be defined in the configuration file, as shown in the example config.json included in this repository. For each account, you can specify the Telegram bot and chat ID to which incoming email messages should be forwarded.

To start tginbox with your configured accounts, run the following command:

$ tginbox /path/to/config.json

To-do

  • better handle encoded mails
  • attachments support

About

Small server that listens for incoming SMTP email messages and forwards them to Telegram

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages