in reply to Re: Handling reconnection with Mail::IMAPClient
in thread Handling reconnection with Mail::IMAPClient
I have probably poorly expressed my question, but no: I'm not trying to implement a server logic. I'm implementing a client that connect to an IMAP server, fetches for new messages and (in the full version of the program) applies some rule to incoming messages. It is a similar behaviour to any email client programs like Thunderbird for example.
When I speak about connection problems I mean client connection problems, infact I naively simulated such problem disconnecting the ethernet cable of my pc where my perl imap client is running.
The above code shows my problem: the client provided by Mail::IMAPClient seems unbale to restablish the connection after reaching the IsDisconnected state. I'd like to recover the connection to the server instead of barely exiting the perl imap client program.
L*
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Handling reconnection with Mail::IMAPClient
by afoken (Chancellor) on Jan 26, 2023 at 09:18 UTC | |
by Discipulus (Canon) on Jan 26, 2023 at 09:38 UTC | |
by afoken (Chancellor) on Jan 27, 2023 at 23:13 UTC | |
Re^3: Handling reconnection with Mail::IMAPClient
by rizzo (Curate) on Jan 26, 2023 at 17:02 UTC |