Email to Telegram forwarder docker service
Run the next command:
cd email2telegram
docker build -t email2telegram .
Run this command with proper data set to variables:
docker run \
-e IMAP_USER=<Username> \
-e IMAP_PASSWORD=<Password> \
-e IMAP_SERVER=<Server address> \
-e TELEGRAM_BOT_TOKEN=<Token> \
-e TELEGRAM_CHAT_ID=<Chat ID> \
-e READ_OLD_MAILS=False \
-e MAIL_SUBJECT=<Subject to match> \
-e FORWARD_MAIL_CONTENT=True \
-e CUT_FROM_SUBJECT="test "
email2telegram
-
Awalon - The core service MailToTelegramForwarder - @awalon
-
Yevhen Fastiuk - email2telegram Docker wrapper - @fastiuk
This project and MailToTelegramForwarder are licensed under the GPLv3 License - see the LICENSE file for details.
Some parts (from IMAPBot) are licensed under the The MIT License (MIT) - see the LICENSE-MIT.md file for details.