Results 1 to 4 of 4

Thread: IMAP stop marking as read??

  1. #1
    tjfayaz120 is offline Member
    Join Date
    Dec 2006
    Posts
    5

    Default IMAP stop marking as read??

    Does anyone know how I can get sugar to stop marking my IMAP emails as read whenever it gets them from my mail server?

    I'm using thunderbird for my email as well as sugar and it's so annoying that new emails come through to thunderbird as read.

  2. #2
    gordo is offline Sugar Community Member
    Join Date
    Oct 2005
    Posts
    35

    Default Re: IMAP stop marking as read??

    Quote Originally Posted by tjfayaz120
    Does anyone know how I can get sugar to stop marking my IMAP emails as read whenever it gets them from my mail server?

    I'm using thunderbird for my email as well as sugar and it's so annoying that new emails come through to thunderbird as read.
    I have exactly the same problem and it is really annoying.

  3. #3
    csiddall is offline Sugar Community Member
    Join Date
    Apr 2007
    Posts
    10

    Default Re: IMAP stop marking as read??

    Has there been any update on this? I too would like the new mail in my Exchange INBOX to stay marked as unread. Would it function correctly using POP3?

  4. #4
    csiddall is offline Sugar Community Member
    Join Date
    Apr 2007
    Posts
    10

    Default Re: IMAP stop marking as read??

    For all interested here is how you can have Sugar IMAP your new mail into the system, but still leave the messages in your mailbox marked as UNREAD.

    Modify Sugar/modules/InboundEmail/InboundEmail.php (Line 1637 in 4.5.1b)

    FROM:

    Code:
    imap_setflag_full($this->conn, $msgNo, '\\SEEN');
    TO:

    Code:
    imap_clearflag_full($this->conn, $msgNo, '\\SEEN');
    Since Sugar actually makes note of the last poll time and only looks for unseen since that time, this won't cause duplicate mail entries into Sugar.

    Cheers!

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
  •