I am building a mail app, which includes a lot of classes. The classes
all inherit from a base class which opens a connection to the imap
server so that it's easy to get messages, etc.
Can anyone suggest the best way of maintaining a persistent stream so I
don't have to keep reopening the connection to the server?
all inherit from a base class which opens a connection to the imap
server so that it's easy to get messages, etc.
Can anyone suggest the best way of maintaining a persistent stream so I
don't have to keep reopening the connection to the server?
Comment