DEV Community

AndySqlman
AndySqlman

Posted on

Forward Telegram Messages to Email

How to automatically forward Telegram messages to a specific email address?

SQLTelebot (also known as Telebot) is a plugin for SQLMessenger. With this plugin, you can forward messages received on Telegram—including text, images, or files—to a designated email address.

In addition to forwarding Telegram messages to email, this plugin also supports forwarding emails to Telegram, as well as sending bulk messages through Telegram.

This article demonstrates how to:
Forward messages sent to the Telegram group "Support & Service" to the email address manager1@test.com.

Steps:

1. Configure an email account in SQLMessenger to send emails.

Image description

2. Install the SQLTelebot plugin in SQLMessenger.

Image description

3. Create a bot in Telegram. If you already have an existing bot, you can skip this step.
For complete instructions on Telegram bot creation, see: https://core.telegram.org/bots#how-do-i-create-a-bot.

Image description

4. Add the Telegram bot to SQLTelebot.

  • Make sure to enable "Automatically fetch messages and save to local database".

  • Enter the recipient's email addresses in the "Forward Received Messages to Email" field. Telegram messages will be forwarded to these addresses.

Image description

After completing the setup, send a message to the "Support & Service" group in Telegram, SQLTelebot will automatically forward this message to manager1@test.com.

The content of the message
Image description

Messages forwarded to Email
Image description

For more details about SQLTelebot, please visit https://www.sqlmessenger.com/manual/plugin-2-index.htm.

Reposted from https://www.sqlmessenger.com/docreader.html?id=580

AWS Q Developer image

What is MCP? No, Really!

See MCP in action and explore how MCP decouples agents from servers, allowing for seamless integration with cloud-based resources and remote functionality.

Watch the demo

Top comments (0)