KostyaEsmukov / smtp_to_telegram

A small program that listens for SMTP and sends all incoming Email messages to Telegram
MIT License
316 stars 76 forks source link

Seem unable to change Telegram API timeout value from 30 seconds #56

Open beastarman74 opened 5 months ago

beastarman74 commented 5 months ago

I have been having an issue with one of my security cameras sending email to telegram. It is located on a slower link and I believe it is likely the size of the image attachment that is taking longer than 30 seconds to be sent.

The error presented in the log is:

{"error":"`read tcp 172.30.0.3:2525->192.168.1.59:47044: i/o timeout","level":"warning","msg":"Error reading data","time":"2024-04-02T18:35:20Z"}

A screenshot showing from the initial connection to the error. image

Am I missing something?

Thanks.