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

Thread: Testing inbound emails

  1. #1
    cgchris99 is offline Sugar Community Member
    Join Date
    Dec 2005
    Posts
    16

    Default Testing inbound emails

    I have installed V4.0 on a test server.
    I have create two users and one inbound mailbox.(pop3)
    I have also created the crontab job (not sure if it is working)

    How do I know if it is request mail from the mailbox I created?

    The "test" under mailbox creation just shows One Moment please and then shows a Close Window

    I never see any mail appear anywhere.

    See this thread for what I want to accomplish..
    http://www.sugarcrm.com/forums/showthread.php?t=7276

    thanks for any advice
    Last edited by cgchris99; 2005-12-21 at 03:40 AM.

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

    Default Re: Testing inbound emails

    Did the popup screen ever show "INBOX" or something like that? Or did it just have the title text and the "Close" button?

  3. #3
    Hacao is offline Junior Member
    Join Date
    Dec 2005
    Posts
    1

    Default Re: Testing inbound emails

    Hi !

    ONLY:
    The "test" under mailbox creation just shows One Moment please and then shows a Close Window !

    Not show "INBOX" or something like that!

    Thanks,

  4. #4
    cgchris99 is offline Sugar Community Member
    Join Date
    Dec 2005
    Posts
    16

    Default Re: Testing inbound emails

    No, I never do see "Inbox"

  5. #5
    Join Date
    Nov 2005
    Posts
    5

    Default Re: Testing inbound emails

    With Mac osX, I see with the test "INBOX".
    With PC, nothing

    Thierry Planchais

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

    Default Re: Testing inbound emails

    Hi guys,

    Seems like you guys found another error. If you feel like hacking the code a bit, try the changes below and get back to us with the newer results:

    in modules/InboundEmail/InboundEmail.php around line 848:
    PHP Code:
    ...
    function 
    connectMailserver($test=false) {
        
    error_reporting(0); // turn off notices from IMAP
        
    $exServ explode('::'$this->service);
    ... 
    add "global $mod_strings;" so that it looks like:
    PHP Code:
    ...
    function 
    connectMailserver($test=false) {
    global 
    $mod_strings;
        
    error_reporting(0); // turn off notices from IMAP
        
    $exServ explode('::'$this->service);
    ... 
    This should give you some intellible feedback - at least whether the connection succeeded or not.

    Sorry about this oversight!

  7. #7
    cgchris99 is offline Sugar Community Member
    Join Date
    Dec 2005
    Posts
    16

    Default Re: Testing inbound emails

    I modified the code per your instructions but when I "test" the settings, I see no changes as far as the test window. It still does not display any new messages.
    It doesn't show inbox, or failed or anything.

  8. #8
    Paul N is offline Member
    Join Date
    Dec 2005
    Posts
    7

    Default Re: Testing inbound emails

    Hi Chris

    I added your code and this is the message I get.

    Found the following mailboxes:

    INBOX
    INBOX.Drafts
    INBOX.Sent
    INBOX.Trash

    I am still not getting any emails in my mailboxes... I switched to port 80 as well.

    cheers
    paul

  9. #9
    cgchris99 is offline Sugar Community Member
    Join Date
    Dec 2005
    Posts
    16

    Default Re: Testing inbound emails

    Paul,

    Are you using IMAP or POP3?

    thanks

    Chris

  10. #10
    cgchris99 is offline Sugar Community Member
    Join Date
    Dec 2005
    Posts
    16

    Default Re: Testing inbound emails

    I don't know why it is not working but I figured out where the problem is.
    When I comment out this line
    // if($test) { imap_timeout(1, 5); } // set a 5-sec timeout when testing

    I see this when I run the test.
    ------------------------------------------------
    Test Settings

    Username/Password Mismatch
    POP3 connection broken in response
    Could not retreive any mailboxes.

    Please check your settings and try again.
    ------------------------------------------------
    I changed the user name and password and now see INBOX
    I still don't get mail in my group mail box but it's a start.
    Last edited by cgchris99; 2005-12-22 at 02:31 AM.

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)

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
  •