And modified limitby to accept a tuple.
set.select(..., limitby=(int:int))
I changed the IMAPAdapter again to add this new options:
- set.select(limitby=int) to limit extense email sequences to be
fetched
- DAL(query, ignore_common_filters=True) and
imapdb.mailbox.common_filter = lambda query: ... common filters
weren't being read by the adapter.
- set.count() this
New features:
- set.update()
- set.delete()
I also fixed Unicode problems on parsing the complete RFC822 message
http://code.google.com/p/web2py/issues/detail?id=610#c5
On 17 ene, 13:05, Alan Etkin spame...@gmail.com wrote:
The new version of the adapter with fixes and size queries
Sounds really good. I guess webmail application would also be an
interesting web2py project.
Eh, if work days had about 49 hours, I'd be on it right now...
I am about to send a new diff to the issues list for IMAPAdapter:
Added a new static field size to limit size in queries or filter
message sizes
Possible query commands will be:
db.table.size 3 (to fetch only messages smaller than 3
octets)
db.table.size 1000 (fetch only large
The new version of the adapter with fixes and size queries
http://code.google.com/p/web2py/issues/detail?id=610#c4
This will probably be accepted. Will check it asap.
On Jan 14, 6:40 pm, Alan Etkin spame...@gmail.com wrote:
I sent an IMAP interface proposal to the issues list. As of now, there
is a dal module modification available that allows connecting to an
IMAP (i.e. Gmail) server, auto create tables
7 matches
Mail list logo