Results 1 to 2 of 2

Thread: inbound email bug

  1. #1
    tourist is offline Member
    Join Date
    Jan 2006
    Posts
    7

    Default inbound email bug

    Hello,

    There appears to be a bug in the handling of inbound email monitoring. When one creates a mailbox to be monitored the system saves it to the db with the mailbox_type = NULL. However in pollMonitoredInboxes() the sql query asks for mailbox_type != 'bounce'. In mysql that returns 0 records which results in the mailbox never being queried. Modifying the sql query to :

    'SELECT id FROM inbound_email WHERE deleted=0 AND status=\'Active\' AND ( mailbox_type is null OR mailbox_type != \'bounce\')'

    in pollMonitoredInboxes() function in modules/Schedulers/_AddJobsHere.php

    appears to fix the problem.

    Cheers,
    --Bill

  2. #2
    sugarchris's Avatar
    sugarchris is offline Sugar Community Member
    Join Date
    Sep 2005
    Location
    San Francisco, CA
    Posts
    861

    Default Re: inbound email bug

    Correct. And it is fixed for 4.0.1 (you won't be able to NOT select a mailbox type).

    Thanks for putting up some patch code for folks here.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •