Puckdropper
It's probably idling out the IDLE
Mon Jul 17, 2023 3:42pm

Some servers just don't want connections to be persistent so they'll kick them out, or the software will support say 256 simultaneous connections and the server will have to kick out someone when they get too many.

  • Yeah. In the retry I tried something like... - Erik_, Tue Jun 27 2023 8:48am
    This is after it was connected and only if the connection dropped: if (!$imap->IsConnected) { $imap->connect or die "Failed to connect"; } But there's either a bug with the IMAP library or my mail server doesn't like reconnecting like that. The $imap->connect wouldn't fail but still wouldn't connect... more
    • It's probably idling out the IDLE- Puckdropper, Mon Jul 17 2023 3:42pm
      • It would seem that's the case. - Erik_, Mon Jul 17 2023 4:56pm
        I have it currently set up to do 10 idle "still here" responses (I think 10...) before doing something else. Seems like it with usually make it to 10 but sometimes only to 8 or so before getting a 'BYE' response. Never the first couple so I think you're on to something with the server idling out of idle.... more
"Forces act when not restrained" - Puckdropper