ability to send from multiple servers to different bots
sk1234567891 opened this issue · 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: test1@google.com > chat ID: -111111111
to: test333333@google.com > chat ID: -222222222
I understand the issue and I see how this can be useful. However, I'm not sure I'm willing to support that.
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.
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: test1@google.com > chat ID: -111111111 to: test333333@google.com > 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.
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: test1@google.com > chat ID: -111111111 to: test333333@google.com > chat ID: -222222222
I really need this function, I don’t know the language but it would be cool to add such an option.
I have implemented the email mappings
function.
You can find it in my fork: https://github.com/MuratovAS/smtptg