The test is being done on gmail IMAP. It must be a bug in IMAP DAL implementation and not gpo2py itself. The mailbox was used by Mac Mail.app and has mailboxes with './\' characters in the names. Can anyone confirm?
The IMAP RFC does not list these characters as prohibited http://www.faqs.org/rfcs/rfc3501.html Section 5.1. Mailbox Naming On Monday, May 21, 2012 1:17:55 PM UTC-5, Alan Etkin wrote: > > Sorry, I was not aware of your message from the mail list. It works for my > gmail account, with web2py stable and the built-in server. I have not > tested IMAPAdapter with any other mail brand. I forgot to upload the app > installer to the project page. Now it's available here: > > http://code.google.com/p/gpo2py/downloads/detail?name=web2py.app.gpo2py.w2p > > Is there any error output that we can use to debug your app? > > On Friday, May 18, 2012 11:20:15 PM UTC-3, pyhead wrote: >> >> Unfortunately neither of these seems to work. I downloaded >> your gpo2py mail client that uses DAL IMAP hoping to use it as an example, >> but it doesn't work at all. Have you tested it with any IMAP servers that >> work, or is this problem specific to the gmail IMAP server? I'm stuck. >> >> On Monday, April 16, 2012 11:02:58 PM UTC-5, Alan Etkin wrote: >>> >>> > On Monday, April 16, 2012 1:57:02 PM UTC-3, Alan Etkin wrote:I think >>> it probably will, since >>> > replacing anything with "_" would set compatible table name strings. >>> >>> My mistake, with Massimo regular expression command the brackets are not >>> replaced by underscore (they are removed), so I assume the mapping will >>> work ok. >>> >>> > Please share the recipe if you are successfully using DAL with IMAP >>> >>> The adapter documentation is available here: >>> >>> http://www.web2py.com/examples/static/epydoc/web2py.gluon.dal.IMAPAdapter-class.html >>> >>> --