smtp_to_telegram icon indicating copy to clipboard operation
smtp_to_telegram copied to clipboard

ability to send from multiple servers to different bots

Open sk1234567891 opened this issue 3 years ago • 5 comments

If you want to send alerts from jenkins to some telegram chat and send promatheous alerts to different chat with same bot you must raise multiple dockers of "smtp to telegram" with different ports.

Is it possible to add ability to saperate chats by mail address?

example: to: [email protected] > chat ID: -111111111 to: [email protected] > chat ID: -222222222

sk1234567891 avatar Jan 19 '22 07:01 sk1234567891

I understand the issue and I see how this can be useful. However, I'm not sure I'm willing to support that.

KostyaEsmukov avatar Jan 19 '22 08:01 KostyaEsmukov

i'm trying to develop it myself with a help from a friend. I will send you a merge request to see if it you can be helpfull for your project.

sk1234567891 avatar Jan 19 '22 08:01 sk1234567891

If you want to send alerts from jenkins to some telegram chat and send promatheous alerts to different chat with same bot you must raise multiple dockers of "smtp to telegram" with different ports.

Is it possible to add ability to saperate chats by mail address?

example: to: [email protected] > chat ID: -111111111 to: [email protected] > chat ID: -222222222

The container isn't really resource intensive. Since the author is not sure about supporting this, you could always have several containers with different ports, one for each destination.

Manuel5cc avatar Jul 27 '23 06:07 Manuel5cc

If you want to send alerts from jenkins to some telegram chat and send promatheous alerts to different chat with same bot you must raise multiple dockers of "smtp to telegram" with different ports.

Is it possible to add ability to saperate chats by mail address?

example: to: [email protected] > chat ID: -111111111 to: [email protected] > chat ID: -222222222

I really need this function, I don’t know the language but it would be cool to add such an option.

NetSysLinux avatar Sep 26 '23 11:09 NetSysLinux