{"repo":"KostyaEsmukov/smtp_to_telegram","free":true,"listed":false,"github":"https://github.com/KostyaEsmukov/smtp_to_telegram","clone":"git clone https://github.com/KostyaEsmukov/smtp_to_telegram.git","description":"A simple program that listens for SMTP and forwards all incoming Email messages to Telegram","language":"Go","stars":455,"topics":["telegram","telegram-bot","smtp"],"license":"MIT","category":"chat-messaging","readme_excerpt":"SMTP to Telegram [ ][Docker Hub] [ ][Go Report Card] [ ][License] [Docker Hub]: https://hub.docker.com/r/kostyaesmukov/smtp to telegram [Go Report Card]: https://goreportcard.com/report/github.com/KostyaEsmukov/smtp to telegram [License]: https://github.com/KostyaEsmukov/smtp to telegram/blob/main/LICENSE smtp to telegram is a simple program that listens for SMTP and forwards all incoming Email messages to Telegram. Say you have a software that can send Email notifications via SMTP. You can use smtp to telegram as an SMTP server so the notification mail would be sent to the chosen Telegram chats. Getting started 1. Create a new Telegram bot: https://core.telegram.org/bots#creating-a-new-bot. 2. Open that bot account in the Telegram account that should receive the messages, press /start . 3. Retrieve a chat id with curl https://api.telegram.org/bot /getUpdates . 4. Repeat steps 2 and 3 for each Telegram account that should receive the messages. 5. Start a docker container: Assuming that your Email-sending software is running in docker as well, you can use smtp to telegram:2525 as the target SMTP address. No TLS or authentication is required. The default Telegram message format is: A custom format can be specified as well:","default_branch":null,"files":null,"tree":[],"storefront":"/r/KostyaEsmukov","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/KostyaEsmukov/smtp_to_telegram/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}