Support » Plugin: Postie » Exchange imap, null pointer ->messages

  • Resolved emile.swain


    Finally, exchange has major issues responding correctly to imap calls. The get_number_of_message() function in postieIMAP.php doesn’t work at all.

    I updated this to use
    $recent = imap_num_msg($this->_connection);

    Though this means deleting messages after they’ve been processed. Though not ideal it at least returns and processes messages.

    Perhaps theres another exchange safe command?

Viewing 1 replies (of 1 total)
  • Thank god i’d put this up here.

    For what ever reason, and its documented on google, imap_status doesn’t work with exchange. or at least the exchange setup we have.

    this is what my function looks like

    `function getNumberOfMessages() {
    return imap_num_msg($this->_connection);

Viewing 1 replies (of 1 total)
  • The topic ‘Exchange imap, null pointer ->messages’ is closed to new replies.