Results 1 to 7 of 7

Thread: [NEWBEE] : The Inbound Email Setup

  1. #1
    marveljojo75 is offline Senior Member
    Join Date
    Oct 2008
    Posts
    47

    Default [NEWBEE] : The Inbound Email Setup

    Hello again all

    I setup an email.
    Everything is fine.
    Then I want to setup the *REPLY* to name and to adress.
    Then, each time I want to save or use the test settings option, it does take for ever, and nothing seems to happen.

    Worst, I cannot do anything on the session, and I need to close the windows and to wait like 10mn before to reopen a new session.

    Thanks for any ideas

    Greetings

    MJ

    OS : Linux Ubuntu 8.04
    SugarCRM 5.1 (french language pack)
    Last LAMP Server version

  2. #2
    marveljojo75 is offline Senior Member
    Join Date
    Oct 2008
    Posts
    47

    Default Re: [NEWBEE] : The Inbound Email Setup

    Up ??

    no ideas ???

    Greetings

    MJ !

  3. #3
    marveljojo75 is offline Senior Member
    Join Date
    Oct 2008
    Posts
    47

    Default Re: [NEWBEE] : The Inbound Email Setup (for KUSKE)

    Does anyone know "Kuske" ??

    "Ask kuske.
    He is the Email Settings expert."

    Greetings,

    MJ

  4. #4
    marveljojo75 is offline Senior Member
    Join Date
    Oct 2008
    Posts
    47

    Default Re: [NEWBEE] : The Inbound Email Setup

    anyone ????
    Pleaaaaaaaaaaaaaaaaaase

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

    Default Re: [NEWBEE] : The Inbound Email Setup

    The Sugar Email Client > 5.0.0 has some problems with non ASCII charsets in mail server directory names.
    I suppose you have same ια-problems.

    To solver this you must edit modules/InboundEmail/InboundEmail.php

    The php function imap_utf7_encode does not work as designed.
    It must be replaced by mb_convert_encoding like this:

    PHP Code:
    //                   $mb = imap_utf7_decode(str_replace($testConnectString,'',$val->name));
                         
    $mb mb_convert_encoding(str_replace($testConnectString,'',$val->name), "ISO_8859-1""UTF7-IMAP" ); 
    Then it makes no sense to test all IMAP direcories, you have IMAP?

    I added some if statement after the statement above.

    PHP Code:
    //KUS                     
    //                   $mb = imap_utf7_decode(str_replace($testConnectString,'',$val->name));
                         
    $mb mb_convert_encoding(str_replace($testConnectString,'',$val->name), "ISO_8859-1""UTF7-IMAP" );
             
    $GLOBALS['log']->debug("***INBOUNDEMAIL: VAL: ".print_r($val->name,true));
             
    $GLOBALS['log']->debug("***INBOUNDEMAIL: TST: ".print_r($testConnectString,true));
             
    $GLOBALS['log']->debug("***INBOUNDEMAIL: $MB: ".print_r($mb,true));
              if (!
    strpos($mb,"/"/* && !strpos($mb,"?") */ ){
    //KUS                     
                         
    $msg .= '<a onClick=\'setMailbox(\"'.$mb.'\"); window.close();\'>';
                         
    $msg .= $mb;
                         
    $msg .= '</a><br>';
    //KUS
              
    }
    //KUS 
    The same game in function getMailboxes (I restricted the mailbox names)

    PHP Code:
          foreach($boxes as $k => $mbox) {
    //KUS
    //       $raw[] = str_replace($serviceString, "", $mbox->name);
             
    $raw_boxname str_replace($serviceString""mb_convert_encoding($mbox->name"ISO_8859-1""UTF7-IMAP" ));
             
    $GLOBALS['log']->debug("***INBOUNDEMAIL: BOX: ".print_r($raw_boxname,true));
             if ( (
    $raw_boxname == "INBOX")
             or   (
    $raw_boxname == "Gesendete Objekte") )
             {
             
    $raw[] = $raw_boxname;
    //KUS
             
    if ($mbox->delimiter) {
                
    $delimiter $mbox->delimiter;
             }
    //KUS
             
    }
    //KUS
          

    Just find these code in your 5.1 module and patch it.
    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


  6. #6
    marveljojo75 is offline Senior Member
    Join Date
    Oct 2008
    Posts
    47

    Default Re: [NEWBEE] : The Inbound Email Setup

    hello Kuske,

    I'm so sorry for to be this late
    I totally forgot this post ....
    So, right now, I have updated my CRM to 5.2.0a with the french language pack.
    Do I need to do your modifications ?
    And, by the way, all of my Email boxes are using IMAP ....


    Thanks for your answers, and, I promise, I will keep them in mind

    Have a nice day,

    MJ !

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

    Default Re: [NEWBEE] : The Inbound Email Setup

    I think in 5.2.0a the inbound email is not correct yet, but it seems to work - even in german umalut environments.
    In my test environment I removed the patch code at the moment.

    Greetings
    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. HOW-TO guide for Email Campaigns.
    By agupta in forum Marketing/Campaign Management
    Replies: 146
    Last Post: 2012-01-31, 03:08 PM
  2. Replies: 74
    Last Post: 2010-11-18, 11:22 PM
  3. Replies: 8
    Last Post: 2008-12-04, 08:07 PM
  4. Replies: 0
    Last Post: 2006-12-17, 07:21 PM
  5. Replies: 2
    Last Post: 2006-04-13, 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
  •