Pop server

Sarah Reichelt sarah.reichelt at gmail.com
Tue May 12 18:48:10 EDT 2009


On Wed, May 13, 2009 at 7:14 AM, Riccardo <tekne at gruppoparentesi.it> wrote:
> Hi,
> I am trying to use the Sarah's library to read messages from a POP server
> but I have same problems
> In many cases the process stops during the reading and i have to force the
> exit.Is this related to the format or to the size of the message?
> When the reading is ok is it possible to filter the message body to get the
> text?

It shouldn't be anything to do with the format as all emails are
straight text with any attachments encoded into text as well.
It might be the size, so look for the line in the library that sets
the socketTimeoutInterval and make that longer.

The only other suggestion is to limit the number of emails processed
in a single batch. I usually only take in 10 to 20 per batch and then
close the connection. This implements all the pending deletes and
seems to make everything work better.

Cheers,
Sarah



More information about the use-livecode mailing list