atheisthax / mail_to_telegram

resend smtp messages to telegram with images
1 stars 1 forks source link

Send to multiple telegram contacts #2

Closed beastarman74 closed 1 month ago

beastarman74 commented 1 month ago

I am currently struggling to send an email to multiple telegram contacts. It only sends to the first chat_id.

I have tried the following formats in the config.py (where chatid1 and 2 are the respective chat_id numbers):

chat_id = 'chat_id1,chat_id2' chat_id = "chat_id1,chat_id2" chat_id = "chat_id1;chat_id2"

Is it possible to do this? if so, can you assist me with the config/formatting required please.

If it's not possible currently can I add a feature request for the capability please?

atheisthax commented 1 month ago

You can do it via telegram channels

beastarman74 commented 1 month ago

I've switched to sending to a channel instead, works fine, thanks.