Re: IMAP library, or support via tsNet?
Hi Bob, > Am 10.01.2019 um 16:50 schrieb Bob Sneidar via use-livecode > : > > I tried this. I get > > 219,13,11,tsNetCustomSync > 465,13,11 > > I suspect tsNet only works in paid products? yep, tsNet is only delivered with LC >= Indy. > Bob S > > >> On Jan 3, 2019, at 16:08 , Charles Warwick via use-livecode >> wrote: >> >> 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. Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de ___ 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
Re: IMAP library, or support via tsNet?
I tried this. I get 219,13,11,tsNetCustomSync 465,13,11 I suspect tsNet only works in paid products? Bob S > On Jan 3, 2019, at 16:08 , Charles Warwick via use-livecode > wrote: > > 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. ___ 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
Re: IMAP library, or support via tsNet?
That's great, thank you Charles. Ben On 04/01/2019 00:08, Charles Warwick via use-livecode wrote: 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 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 : 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 ___ 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
Re: IMAP library, or support via tsNet?
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 > 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 >>> : >>> >>> 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
Re: IMAP library, or support via tsNet?
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 : 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
Re: IMAP library, or support via tsNet?
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 > : > > 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