vrld / imap4.lua Goto Github PK
View Code? Open in Web Editor NEWSimple IMAP4 protocol wrapper for lua. Requires luasocket and (if you want to use TLS) luasec.
Simple IMAP4 protocol wrapper for lua. Requires luasocket and (if you want to use TLS) luasec.
Thanks for the great community contribution. It is super to find examples in lua for things I need!
I've had some trouble getting your library to connect with GMail or other servers over SSL. Even if I wrap the socket myself and skip the forced STARTTLS call IMAP:_receive seems to fail when it should not.
This library is successful at connecting and communicating : https://github.com/dmj/misc/blob/master/lua/imap.lua/imap.lua but obviously is missing the communication infrastructure of yours. I'm thinking of combining the bits from both that work but would obviously like to contribute to an existing solution first. What would you suggest? Thanks!
-Daniel
Sent Messages
{"flags":{},"delim":"/"}
0.794206292431247 STATUS Sent Messages (MESSAGES RECENT UNSEEN)
luajit: demo.lua:41: Command `STATUS Sent Messages (MESSAGES RECENT UNSEEN)' failed: Parse command error
stack traceback:
[C]: in function 'error'
./imap4.lua:216: in function '_do_cmd'
./imap4.lua:393: in function 'status'
demo.lua:41: in main chunk
[C]: at 0x00404d60
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.