Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Missing IMAP Email's after upgrade to 5.2.0c

  1. #1
    hunger is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    11

    Default Missing IMAP Email's after upgrade to 5.2.0c

    After upgrading to 5.2.0c all IMAP folders are empty in the sugar email client. The email exists on the server and even new emails are not added. If I do a checkmail it shows that it is retreiving messages but they are no displayed. The Inbox always shows "0 Messages".

    I have rebuilt incoming accounts, deleted and re-added individual users email accounts but have had no luck.

    The weird thing is that it can query the IMAP folders from the server and allows you to add them but shows nothing.

    Running:
    5.2.0c Pro
    Windows 2008
    IIS7
    PHP 5.2.9-1/FastCGI
    MySQL 5.1.31

    I upgraded when PHP was 5.2.8 then went to 5.2.9-1. I reverted back to 5.2.8 but the problem still exists. This problem did not exist using 5.2.0a and PHP 5.2.8.

    This pretty much puts us out of business. Does anyone have any ideas?

    Any help would be appreciated.

    Thanks!

  2. #2
    jochenhager is offline Senior Member
    Join Date
    Mar 2009
    Posts
    26

    Question Re: Missing IMAP Email's after upgrade to 5.2.0c

    Thank you for raising this! I have exactly the same problem. I upgraded on Friday to 5.2.0c because my hosting provider switched to PHP 5.2.9.

    I have exactly the same problem. I preserved the old install and had it run against the updated database - same problem. Email connects, I can test alright, I can sent e-mails, I see my IMAP inboxes and all the folders. Folders are available on through Roundcube on a different IMAP client. I built an email user, configured ADMIN as a mail user, all to no avail: I cannot get email to show the messages in my IMAP folders.

    I get this error message in my logfile:

    [23-Mar-2009 15:37:04] PHP Warning: Invalid argument supplied for foreach() in <myhome>/modules/InboundEmail/InboundEmail.php on line 5989

    I hope someone can help! I am out of business without the ability to read and connect e-mail through SugarCRM.
    Last edited by jochenhager; 2009-03-28 at 10:49 PM.

  3. #3
    jurmb84 is offline Junior Member
    Join Date
    Mar 2009
    Posts
    1

    Default Re: Missing IMAP Email's after upgrade to 5.2.0c

    I am new to SugarCRM. I just installed 5.2.0c and love alot of the features that i have seen. However, I cannot get IMAP to show any messages either. I have been looking for an answer for 2 days now and am at my wits end. I have seen the same error message in my logs as posted above. Please place a fix here as I would like to use this software but cannot begin to without a valid imap email client.

  4. #4
    wichard is offline Sugar Community Member
    Join Date
    Dec 2004
    Location
    Almelo, Netherlands
    Posts
    75

    Default Re: Missing IMAP Email's after upgrade to 5.2.0c

    After a long debugging session I found out the problem lies in the function imap_fetch_overview


    in the file /modules/InboundEmail/InboundEmail.php
    change ALL :
    Code:
     $searchOverviews = imap_fetch_overview($bean->conn, implode(',', $searchResult), SE_NOPREFETCH+SE_UID);
    into
    Code:
     $searchOverviews = imap_fetch_overview($bean->conn, implode(',', $searchResult, FT_UID));
    replace all the , SE_NOPREFETCH+SE_UID with ,FT_UID

    make sure to backup the file, no guarantees it will work for you, if it does let it know here.tested on sugar 520c
    Last edited by wichard; 2009-05-11 at 02:50 PM. Reason: correction to the solution
    Wichard Noppert
    Prudento
    Twitter

  5. #5
    HQnet is offline Member
    Join Date
    Mar 2009
    Posts
    12

    Default Re: Missing IMAP Email's after upgrade to 5.2.0c

    Hi,
    it did not worl for me (v.520c)

    I think the issue is also related to the hosting servers, because I have been testing in a total of 3 server and two of worked fine and the third one fails

    For the record, I am testing both standadrd and SSL accounts (gmail actually), and both types behave the same on eache server.

    Regards,
    HQ.

  6. #6
    wichard is offline Sugar Community Member
    Join Date
    Dec 2004
    Location
    Almelo, Netherlands
    Posts
    75

    Default Re: Missing IMAP Email's after upgrade to 5.2.0c

    There was also another issue (not directly related to 520c and php 520) that is caused by a warning.


    I ran across that using different imap mailboxes:

    https://www.sugarcrm.com/forums/showthread.php?p=143784

    Maybe you experience that problem too?
    Wichard Noppert
    Prudento
    Twitter

  7. #7
    HQnet is offline Member
    Join Date
    Mar 2009
    Posts
    12

    Default Re: Missing IMAP Email's after upgrade to 5.2.0c

    Quote Originally Posted by wichard View Post
    There was also another issue (not directly related to 520c and php 520) that is caused by a warning.
    I ran across that using different imap mailboxes:
    https://www.sugarcrm.com/forums/showthread.php?p=143784
    Maybe you experience that problem too?
    I don´t think so... I don´t recieve any errors
    I´ve turned on debugging but it doesn´t seem to be logging anything :S.
    I´ll check that more and try to come back with more details.
    Thanks.

  8. #8
    mamboklaus's Avatar
    mamboklaus is offline Senior Member
    Join Date
    Mar 2009
    Posts
    63

    Default Re: Missing IMAP Email's after upgrade to 5.2.0c

    mhh strange .. here the same.... also dont work after changing ' SE_NOPREFETCH+SE_UID with ,FT_UID'
    regards.
    Mit besten Grüßen aus Nürnberg in Franken
    Klaus Fuchs
    visit me at:
    http://fuchs-net.de
    Wer nicht lächeln kann, sollte keinen Laden aufmachen. Aus China.
    Benutze:
    Sugar CRM 5.2.0c ( 5505) auf einem Shared Server(Massenhoster)


  9. #9
    malcolmh's Avatar
    malcolmh is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Aug 2004
    Posts
    1,712

    Default Re: Missing IMAP Email's after upgrade to 5.2.0c

    Hi,

    We had the same problem with a new customer. They had PHP 5.2.9 installed which afaiaa is not currently supported by Sugar.

    We downgraded PHP to 5.2.6 now everything works fine
    Cheers Malcolm

    Genius4U Limited - Ingenious simple IT solutions for you / Genial einfache IT Lösungen für Sie
    http://www.genius4u.com or http://www.genius4u.de

  10. #10
    dixon2002 is offline Junior Member
    Join Date
    Apr 2009
    Posts
    1

    Smile Re: Missing IMAP Email's after upgrade to 5.2.0c

    replace the , SE_NOPREFETCH+SE_UID with ,FT_UID

    Works perfectly, BUT only when I choose Outgoing Mail Server the same as Incoming.

    Many thanks.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 2008-11-19, 01:16 AM
  2. Replies: 2
    Last Post: 2006-10-03, 06:46 AM
  3. No accents in email's body
    By bandesz in forum Help
    Replies: 2
    Last Post: 2006-08-04, 05:15 PM
  4. Email's function
    By nurastria in forum General Discussion
    Replies: 8
    Last Post: 2005-10-15, 08:00 AM
  5. Reports have gone missing after upgrade!
    By afidgen in forum Help
    Replies: 1
    Last Post: 2005-09-02, 12:27 PM

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
  •