Results 1 to 4 of 4

Thread: gmail imap setup

  1. #1
    maclonghorn is offline Member
    Join Date
    Nov 2007
    Posts
    9

    Default gmail imap setup

    We use Google Apps to host our mail. I am running 5.2.0d and have successfully setup my admin account to see the imap inbox, etc. Works great. But when I setup any other user, it says "Login or Password Incorrect". All my setting are correct as well as the user/pwd. We're using the standard Gmail IMAP settings (imap.gmail.com:993) Any ideas? Should work fine.

    Followup:
    I changed one of the normal users to an Admin and I was able to setup the IMAP account (at least it accepted my user/pwd) and said the test was OK. I was also able to set the folders from the server (ie, Trash and Sent Mail) However, only the INBOX shows up and it doesn't show any emails. I'll look at other threads to see if I can see why. But I still need an answer why the IMAP setup/test fails for a normal user.

    Problem Solved:
    Not sure what the problem was and I don't think that making the user an Admin had anything to do with it (makes sense). It MAY have been a caching issue. I may have not enabled IMAP in Gmail prior to attempting the user's email setup, and so all subsequent attempts were failing. Whatever the reason, I was able to successfully setup other users' emails by enabling IMAP, then running setup. Hope this helps others.
    Last edited by maclonghorn; 2009-05-16 at 04:46 PM. Reason: Solved

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

    Default Re: gmail imap setup

    "Login or Password Incorrect":

    If there are some special specialchars in your PW, they can be wrong converted. So try to use normal chars for the PW.

    IMAP:

    There is a bug with php 5.2.9, often described here in the forum.
    It says that you must change all five calls
    imap_fetch_overview($this->conn, $uids, SE_NOPREFETCH+SE_UID);
    to
    imap_fetch_overview($this->conn, $uids, FT_UID);
    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
    pdaalder is offline Sugar Community Member
    Join Date
    Feb 2006
    Posts
    19

    Default Re: gmail imap setup

    Hi,

    I could only find that line twice, but I did find 5 times that SE_NOPREFETCH+SE_UID. I've replaced all 5

    I'm running 5..2.0.e

    But no luck. I check the server and IMAP it is installed (php -m).

    The problem is it opens the pop-up, and then remains loading untill it gives me the "Server not responding" error.

    Any tips?

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

    Default Re: gmail imap setup

    When Sugar connects the first time to an IMAP server it tries to load all header information from the IMAPS postbox.
    If there are a lot of emails in your IMAP folders, this first connection needs really a lot of time.
    This can be a reason for the hanging popup, but it can be another reason too.

    You should switch the logging to "debug" to see in sugarcrm.log, what happens exactly when you connect to the postbox.
    Try to read the logfile and to see why your popup hangs.
    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


Thread Information

Users Browsing this Thread

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

Similar Threads

  1. GMail IMAP setup & test
    By johnswolter in forum Help
    Replies: 9
    Last Post: 2009-01-23, 12:37 AM
  2. 5.1.a Gmail IMAP error
    By shrekthemp in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2008-10-05, 03:50 PM
  3. GMail & IMAP issue
    By johnswolter in forum Help
    Replies: 1
    Last Post: 2008-02-05, 06:15 PM
  4. Gmail Imap Functionality & Error
    By robert.blasingame in forum Help
    Replies: 1
    Last Post: 2007-12-26, 07:31 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
  •