Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-4095

imap mailprocessor only works at the first run (before the civi-folders are created)

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.2.0
    • Fix Version/s: None
    • Component/s: CiviMail
    • Labels:
      None

      Description

      Hi,

      im testing the great new php mailprocessor.

      the problem:
      The CiviMailProcessor only works for me at the first run - when the civicrm-folders doesn't exists.
      If the folders exists, the script stops after printing the mailboxes "Inbox mailboxes found: [...]"

      What i've tested:
      I've commented out the two "createMailbox()" lines in the Imap.php to test.
      "// if (!in_array($this->_ignored, $boxes)) $this->_transport->createMailbox($this->_ignored); "
      "// if (!in_array($this->_processed, $boxes)) $this->_transport->createMailbox($this->_processed);"

      After doing that, the script works great (if the civicrm-folders exists ) !

      I'm a php-noob so i don't know how to detailed debug this problem.

        Attachments

          Activity

            People

            • Assignee:
              shot Piotr Szotkowski
              Reporter:
              sokki Till Schmidt
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: