in reply to
IMAP Client New Mail Callback
Yeah, you don't want to waste sockets or bandwidths with TCP keep alive packets. Instead, connect at a reasonable (pseudorandom) interval. That way you're polling the server and being a good netizen.
HTH,
SSF
Comment on
Re: IMAP Client New Mail Callback
In Section
Seekers of Perl Wisdom