Payments are experiencing issues due to temporary restrictions in Russia. If your payment does not go through, please submit a support request.Our support team is available 24/7 — we are always here to help with hosting and server issues.We are now accepting requests for dedicated server rental and colocation services in our data center.Reminder: we recommend enabling backups for additional data protection.A new VPS/VDS lineup with NVMe storage and improved performance is now available.Maintenance work on some servers has been completed. All services are operating normally.
AWZ: Emails to Telegram

MODULE FOR 1C-BITRIX

Andrew Zahalski

AWZ: Emails to Telegram

The awz.mailtotg module integrates with the Bitrix CMS mail event processing system. It intercepts notifications before sending using the OnBeforeEventSend event handler. The compiled message from the email template is converted to a format compatible with the Telegram API and sent to a configured chat or channel.

Technical details

Published
07.06.2026
Version
1.0.11
Installed
Less than 50 times
Compatible editions
'First Site', 'Start', 'Standard', 'Small Business', 'Business', 'Corporate Portal', 'Enterprise', 'Online Store + CRM'
Responsiveness
No
Composite Mode Support
No
Compatible with Sites24
No
Developer
Andrew Zahalski

What this solution does

The awz.mailtotg module integrates with the Bitrix CMS mail event processing system. It intercepts notifications before sending using the OnBeforeEventSend event handler. The compiled message from the email template is converted to a format compatible with the Telegram API and sent to a configured chat or channel. An integrated conversion system adapts HTML markup for Telegram, preserving supported formatting tags such as bold, italic, links, and code blocks. The module can be configured to completely block the original email delivery, sending notifications only to Telegram. Access to module settings is controlled via the Bitrix role-based access model. Installation is performed using the standard Bitrix mechanism, which creates the necessary database tables for storing access rights.

The module automatically registers event handlers and configures components for access control. It integrates into the existing Bitrix email notification system, operating transparently without altering its standard logic.

Configuration is performed via the Bitrix administrative interface at Settings → Module Settings → awz.mailtotg. Two mandatory parameters are required: the Telegram bot API token (TGKEY) obtained from @BotFather, and the unique chat or channel ID (TGID) for message delivery.

Behavior is configured individually for each email event type. Two modes are available: 'Active', which duplicates the notification to Telegram, and 'Blocked', where the original email is not sent and the notification is forwarded exclusively to the messenger. The interface displays a list of all active system email templates with the ability to enable or disable forwarding for each.

Access to module management is controlled by the standard Bitrix access rights system. The 'View Settings' right allows opening the configuration page, while the 'Edit Settings' right permits changing module parameters.

The access rights management module enables configuring access levels for individual users and groups.

General iT can install and configure this module and check how it works on your website.

UPDATE HISTORY

What’s new

3 releases
1.0.11 (27.05.2026)Latest update

- SSL certificate verification is enabled.

1.0.10 (23.05.2026)

- Additional session tampering protection has been added.

1.0.9 (23.05.2026)

- Added an option to configure sending via email templates in separate tabs;

- Added an option to disable the module.

USER EXPERIENCE

Solution reviews

How does this solution work in a real project? Share your experience and help others choose.

Be the first to share your experience

There are no reviews of this solution on git.ru yet. Tell us what worked well and what could be improved.

Verified purchaseAdd a key if you wish. A verified review gets a badge, priority placement and more rating weight.

Open to every clientJust sign in to your account. A key is optional; all reviews are moderated.

YOUR EXPERIENCE MATTERS

Your review

YOUR PROJECT INFRASTRUCTURE

A home for your website

BEFORE YOU ORDER

Let’s go through the details.

Is installation free?
The solution itself is free. Installation, configuration and customisation services are agreed separately. A compatible platform and an appropriate platform licence are required.
How do I check compatibility?
Compare the supported editions and solution version in the technical details with your project. Before installing on a live website, we recommend making a backup and checking the solution in a test environment.
Can you help with implementation?
We can help install the module, check its settings and verify how it works in your project. Compatibility with other customisations and the scope of work are assessed before we begin.

GENERAL iT

Let’s discuss your project

Получатель: ООО «Дженерал Ай Ти Рус»

1C-BITRIX

Install solution

Enter a domain with or without https://. The installer will open in your website control panel in a new tab.

Solution screenshots

Solution screenshot