Ok,

After much flail (most of which was ultimately non-pontomail related... like not having PHP compiled with IMAP support)... I have gotten the latest version of pontomail (CVS version) installed and configured.

It's sorta working. I can create accounts and it can access them, but I'm stuck with two problems, one of which I'll mention here and the other I'll mention as a separate bug.

The problem is that when I edit the account it shows INBOX as unsubscribed. If I select the INBOX checkbox and click "Update Account", I get the following warnings:

warning: imap_getmailboxes(): supplied argument is not a valid imap resource in /usr/local/apache2/htdocs/drupal/sites/default/modules/pontomail/IMAPService.inc on line 93.
warning: imap_getsubscribed(): supplied argument is not a valid imap resource in /usr/local/apache2/htdocs/drupal/sites/default/modules/pontomail/IMAPService.inc on line 110.
warning: Invalid argument supplied for foreach() in /usr/local/apache2/htdocs/drupal/sites/default/modules/pontomail/pontomail.module on line 1043.
warning: Invalid argument supplied for foreach() in /usr/local/apache2/htdocs/drupal/sites/default/modules/pontomail/pontomail.module on line 1103.
warning: Invalid argument supplied for foreach() in /usr/local/apache2/htdocs/drupal/sites/default/modules/pontomail/pontomail.module on line 1138.

The Mail view works and shows all the folders and subfolders, but not INBOX.

I've tried this with two separate IMAP servers and the result is the same. I also did a print_r for the variables on line 93. The $folder was right (I'm assuming... it was {}INBOX ), but $this->mbox was emtpy (i.e. a print_r($this->mbox) didn't print anything).

-Dan

Comments

Danimal’s picture

Quick Note: I had a commented out print_r line so the line numbers above are exactly 1 more than the actual line numbers in the code from CVS.

Souvent22’s picture

Assigned: Unassigned » Souvent22
Status: Active » Fixed

Should be fixed from a previous commit.

Anonymous’s picture

Status: Fixed » Closed (fixed)