Hi Ben, Support for IMAP was added into tsNet a while ago. There are a few lessons that I’ve added to LiveCode’s website on IMAP.
Lessons: http://lessons.livecode.com/m/4071/l/858279-how-to-use-tsnet-to-display-an-e-mail-message-from-an-imap-account http://lessons.livecode.com/m/4071/l/858974-how-to-use-tsnet-to-display-the-folders-stored-in-an-imap-account http://lessons.livecode.com/m/4071/l/860779-how-to-use-tsnet-to-delete-an-e-mail-message-from-an-imap-account Regards, Charles. > On 4 Jan 2019, at 5:56 am, Ben Rubinstein via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Aha! I didn't even realise that there was an imap URL protocol. > > Thanks Matthias, that's exactly what I needed. > > best regards, > > Ben > >> On 03/01/2019 13:57, Matthias Rebbe via use-livecode wrote: >> Ben, >> i just did a quick test with my local test mai server. This script for >> example would output the number of messages in the imap folder to the >> message box. >> put tUSERNAME into pSettings["username"] >> put put into pSettings["password"] >> put "STATUS INBOX (MESSAGES)" into pRequest >> put "imap://192.168.7.25" into pURL >> put >> tsnetCustomSync(pURL,pRequest,xHeaders,rOutHeaders,rResult,rBytes,pSettings) >> Did not try ssl, but should work also. >> Regards, >> Matthias >> Matthias Rebbe >> free tools for Livecoders: >> https://instamaker.dermattes.de >> https://winsignhelper.dermattes.de >>> Am 03.01.2019 um 12:17 schrieb Ben Rubinstein via use-livecode >>> <use-livecode@lists.runrev.com>: >>> >>> Is there anything in the way of an IMAP library around? >>> >>> My needs are relatively simple: I want to connect to an iMAP server, >>> recursively list folders and fetch the size of each (if necessary by >>> fetching the size of each message) >>> >>> e.g. in JavaScript with this library >>> https://github.com/emailjs/emailjs-imap-client >>> I'd be using >>> connect() >>> listMailboxes() >>> listMessages(... ['RFC822.SIZE']) >>> ... >>> >>> Is there a library that would support this kind of access? >>> >>> Does tsNet provide anything above the basic network primitives to support >>> this? Some time I ago there was a tantalising hint on this list: >>> >>>> On 24/08/2017 11:05, Charles Warwick via use-livecode wrote: >>>> IMAP and POP3 support in tsNet under Linux is only available in tsNet >>>> 1.3.0+ which will be bundled with the next LC release. >>>> All other platforms have had support for those protocols for a while. I >>>> hope to have some documentation available in the next two weeks. >>> >>> Did that ever come to fruition? >>> >>> >>> Many thanks, >>> >>> Ben >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode@lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode