Служба поддержки работает 24/7 — мы всегда на связи по вопросам хостинга и серверов.Открыт прием заявок на аренду выделенных серверов и размещение оборудования в дата-центре.Напоминаем: рекомендуем включить резервное копирование для дополнительной защиты данных.Доступна новая линейка VPS/VDS с NVMe-дисками и увеличенной производительностью.Технические работы на части серверов завершены. Все сервисы работают в штатном режиме.

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

8 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.

1.0.8 (22.07.2025)

- Bug fix;

1.0.5 (22.07.2025)

- Menu moved to Services.

YOUR PROJECT INFRASTRUCTURE

A home for your website

BEFORE YOU ORDER

Let’s go through the details.

How do I purchase a solution?
Submit a request on the solution page. A manager will check your selection, confirm the terms and arrange the purchase. We can also help with installation and setup.
Is a 1C-Bitrix licence included?
The default price covers the solution itself. If the developer offers a bundle with a 1C-Bitrix licence, you can select it separately on the solution page.
Can I try a solution first?
Available online demos and trial periods are shown on the solution page. The trial length depends on the solution.
How much does renewal cost?
Renewal is calculated as 50% of the full solution price before discounts. A manager will confirm the renewal terms and period before you order.
Can you help implement the solution?
Yes. We can build a website or store based on a template, or install, configure and check a module for compatibility. The scope and cost of the work are agreed separately.

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