Getting Email
Greetings, Anybody know of a way to retrieve email using LiveCode? Thanks, Ray Horsley LinkIt! Software ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Getting Email
Sarah has a library for reading from a POP server, which I've used a few times - see http://www.troz.net/rev/index.irev?category=Library#stacks Shao Sean also has a POP library, which I haven't used but I would expect it to be excellent. AFAIK, neither has decoding capabilities for extracting attachments, etc. so if you need that you'll need to roll your own. BTW, if anyone else has written one of those, and felt like sharing it, I'm sure it would be very welcome. (I keep threatening to do that, but for now my Python script is running very happily so I haven't got around to re-writing into LiveCode). -- Alex. On 24/10/2010 13:50, Ray Horsley wrote: Greetings, Anybody know of a way to retrieve email using LiveCode? Thanks, Ray Horsley LinkIt! Software ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Getting Email
Alex, Thanks for these suggestions. Please let me know if you ever write something a little beefier; i.e. something which could read attachments and work with SMTP. Thanks, Ray -Original Message- From: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of Alex Tweedly Sent: Sunday, October 24, 2010 9:14 AM To: use-revolution@lists.runrev.com Subject: Re: Getting Email Sarah has a library for reading from a POP server, which I've used a few times - see http://www.troz.net/rev/index.irev?category=Library#stacks Shao Sean also has a POP library, which I haven't used but I would expect it to be excellent. AFAIK, neither has decoding capabilities for extracting attachments, etc. so if you need that you'll need to roll your own. BTW, if anyone else has written one of those, and felt like sharing it, I'm sure it would be very welcome. (I keep threatening to do that, but for now my Python script is running very happily so I haven't got around to re-writing into LiveCode). -- Alex. On 24/10/2010 13:50, Ray Horsley wrote: Greetings, Anybody know of a way to retrieve email using LiveCode? Thanks, Ray Horsley LinkIt! Software ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Getting Email
On 10/24/2010 8:46 AM, Ray Horsley wrote: Alex, Thanks for these suggestions. Please let me know if you ever write something a little beefier; i.e. something which could read attachments and work with SMTP. I'm pretty sure Sarah has one that uses SMTP too. What makes reading attachments so hard? Aren't they separated by an ID number and you're told what the type of the attachment is and possibly the length? It seems like LiveCode's text search routines would make it pretty easy to delimit the various attachments from each other. The hard part would be deciding what to do with them once you had them. len morgan ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Getting Email
Yes, both Sarah and Shao Sean have SMYP libraries (I haven't used either). It's not hard to pick out the attachments - but it would be nice to do it in a general way for a library, that would return a list of attachments, their types, allow simple filing of them, etc. -- Alex. On 24/10/2010 14:49, Len Morgan wrote: On 10/24/2010 8:46 AM, Ray Horsley wrote: Alex, Thanks for these suggestions. Please let me know if you ever write something a little beefier; i.e. something which could read attachments and work with SMTP. I'm pretty sure Sarah has one that uses SMTP too. What makes reading attachments so hard? Aren't they separated by an ID number and you're told what the type of the attachment is and possibly the length? It seems like LiveCode's text search routines would make it pretty easy to delimit the various attachments from each other. The hard part would be deciding what to do with them once you had them. len morgan ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Getting Email
What makes reading attachments so hard? Aren't they separated by an ID number and you're told what the type of the attachment is and possibly the length? Theoretically, yes. But unfortunately, several Monopolist mucked around in the Specs for MIME, making it as much a impossible thing to deal with as comma separated files (csv). I mean, that one's easy too, in theory... -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL http://bjoernke.com/chatrev/chatrev1.3b3.rev; ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution