Results 1 to 5 of 5

Thread: Unable to view messages in INBOX

  1. #1
    guhanr is offline Member
    Join Date
    Mar 2009
    Posts
    9

    Red face Unable to view messages in INBOX

    I'm running Sugar CE Version 5.2.0a (Build 5447) on a shared Linux host; Apache 2.2.1 and PHP 5.2.9 and am unable to read email within the INBOX

    We use Google Apps for our email - I'm able to configure smtp and imap settings within SugarCRM and can send mail correctly (so, SMTP works). I've selected the INBOX folder to monitor - I intend to able to "view" the email and 'move' only whats necessary into SugarCRM. However, I cant see any incoming email within the SugarCRM client view. Whether I click Check now or rt-click on INBOX and select Synchronize, Check now, it whirs for a while and then no dice.

    After lots of unsuccessful fiddling around, I tried connecting to email from a fresh installation on a professional shared host and I can see all the email correctly.

    The email settings to reach the servers (smtp.gmail.com and imap.gmail.com) with fully qualified user names i.e user@domain.com are identical on both servers, which essentially means that the settings are right, but there is a problem with the way my SugarCRM installation is setup.

    The dev guide says
    ...In the case of monitoring personal email, each user needs to configure his personal email account in the Email tab. When a user sets up such an account, the Sugar system downloads just the headers of all the email messages, but not the email body, and puts the headers in the email_cache table in the Sugar DB.Once the user clicks on an email to read it, the email message body is now downloaded from the mail server and put into the local file system in the cache directory. However at this point, the email is still not “imported” into Sugar and therefore it is neither linkable to other objects nor visible to other users....
    I read the forums and checked sugarchris FAQ - My scheduler jobs are all Active and working. What else could be the problem?

    Any help is welcome, as this is the only thing (up until now) holding up the rollout...

    Thanks

  2. #2
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Unable to view messages in INBOX

    It is a php 5.2.9 issue. You only must change all 5 calls to imap_fetch_overview in module /modules/InboundEmail/InboundEmail.php from

    imap_fetch_overview($this->conn, $concatResults, SE_NOPREFETCH+SE_UID);

    to

    imap_fetch_overview($this->conn, $concatResults, FT_UID);

    Seems to be the same issue as threads http://www.sugarcrm.com/forums/showthread.php?t=45286 , http://www.sugarcrm.com/forums/showthread.php?t=45286 and
    http://www.sugarcrm.com/forums/showthread.php?t=31531
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


  3. #3
    guhanr is offline Member
    Join Date
    Mar 2009
    Posts
    9

    Thumbs up Re: Unable to view messages in INBOX

    Making that change works!!
    Wow Mr. Kuske! You are a genius and have just saved the day. You rock!

    Thank you.

  4. #4
    dvogelca is offline Junior Member
    Join Date
    Oct 2005
    Posts
    3

    Default Re: Unable to view messages in INBOX

    I was suffering from the same problem, the fix worked like a champ.

    Thank you so much

  5. #5
    Skwark is offline Junior Member
    Join Date
    May 2009
    Posts
    1

    Default Re: Unable to view messages in INBOX

    I had this issue but could only find two references to the line above, not 5 (running 5.2.0e).

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 2009-03-03, 09:33 PM
  2. Replies: 1
    Last Post: 2007-10-03, 10:44 PM
  3. User unable to view almost all data
    By lasterm in forum Help
    Replies: 5
    Last Post: 2007-06-08, 07:48 PM
  4. Campaing-View Status (clikeable viewed messages)
    By ediman in forum Feature Requests
    Replies: 0
    Last Post: 2007-03-23, 10:11 PM
  5. Unable to view lists
    By ldebernardini in forum Help
    Replies: 3
    Last Post: 2006-12-20, 06:14 PM

Tags for this Thread

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
  •