So I'm trying to use this library to read emails that come into the inbox and then read the contents to pass on to another part of the program. The issue I'm facing at the moment is that when a new email comes in and a search is performed it seems to get stuck and then the program just crashes.
So I'm trying to use this library to read emails that come into the inbox and then read the contents to pass on to another part of the program. The issue I'm facing at the moment is that when a new email comes in and a search is performed it seems to get stuck and then the program just crashes.
I'm using more or less the example code given.
I've taken out all the mail-parsing code as I don't believe that to be the issue.
Here is the output:
I'm using a Plesk Ubuntu server for my mail server which uses Dovecot if that is useful.