IMAP Search skipping results

Mark Waddingham mark at livecode.com
Mon Mar 23 14:01:14 EDT 2020


On 2020-03-23 17:49, Pi Digital via use-livecode wrote:
> Hey, are you insinuating my code is flawed!?! :-o
> The cheek of it! ;)

Lol - well we all write flawed code from time to time...

More often though we write code which is perfect but based on 
assumptions we didn't realize could be invalid (that's usually much 
harder to discern!)

Anyway, something here is bugging me - I do wonder if it is the manner 
in which cURL (via tsNet) is being used (in this instance) is actually 
causing the bug to manifest. IMAP is a session-based protocol, so unless 
cURL does something magic with its 'custom URL' support (which is how 
cURL implements IMAP), I'm puzzled how issuing two separate URL requests 
can actually work (unless it isn't actually meant to, but just seems 
to).

I'll experiment later on before I finish for the day.

Warmest Regards,

Mark.

-- 
Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps




More information about the use-livecode mailing list