[Python] Does Python's imaplib let you set a timeout?

Discussão em 'Python' iniciado por Stack, Fevereiro 12, 2025.

  1. Stack

    Stack Membro Participativo

    I'm looking at the API for Python's imaplib.

    From what I can tell, there is no way to setup a timeout like you can with smtplib.

    Is that correct? How would you handle a host that's invalid if you don't want it to block?

    Continue reading...

Compartilhe esta Página