Results 1 to 4 of 4

Thread: inbound_email table : id needed

  1. #1
    nmctech is offline Member
    Join Date
    Apr 2008
    Posts
    5

    Default inbound_email table : id needed

    Hi,

    We've a scenario where we want to populate the database for all our users as we want to migrate from an existing database. One of our requirements is we want to populate the inbound_email settings for everybody in the database.

    I've figured out how to encrypt the email_password but the 'id' field in the inbound_email table mystifies me. I don't know how it is getting created or if I create any random alpha numeric number, it will work.

    I understand a 32 bit id is created every time any user creates an inbound mail account. Also if we add to the inbound_email table, is it sufficient or other tables need to be affected as well?

    I'm using 5.0.0e .

    Thanks in advance !

  2. #2
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: inbound_email table : id needed

    Hi,

    You are talking about a so-called universal unique identifier which (theoretically at least) should be the only such string in this very world of ours. It is used to identify unique records and makes it (theoretically) possible to copy records from one DB to another without the need to change the ID. It's usually created by calling a function of the DB - I believe it's uuid() in the case of mysql.
    This string identifies the inbound email account in Sugar and is also used in all other tables that reference to this particular account. Some but not all of them are:

    email_cache
    emails
    inbound_email_cache_ts

    rgds
    rl
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

  3. #3
    nmctech is offline Member
    Join Date
    Apr 2008
    Posts
    5

    Default Re: inbound_email table : id needed

    Hi,

    I tried playing around with uuid but that is not what SugarCRM is using. The 'id' field in inbound_email table and the other places where unique id's are being created like in the user table, SugarCRM is using some other function to create those id's based on the time stamps and/or username, first and last name etc.

    If somebody could please tell me in this respect what those functions are (that are generating those id's), I would greatly appreciate it.

    Thanks in advance !

    Sourabh

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

    Default Re: inbound_email table : id needed

    It is a real uuid, even in inbound_email.
    In thread http://www.sugarcrm.com/forums/showthread.php?t=25197 there are some remarks to the generation of the uuid in Sugar.
    But you can take without any problems the mysql function uuid().

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Manually drop scheme (5.0 upgrade) ?
    By niallhannon in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2008-01-07, 05:41 PM
  2. problemi step 6 di SugarSuite-Full-4.0.1h
    By lucia in forum Italiano
    Replies: 0
    Last Post: 2006-12-27, 08:50 AM
  3. Fatal error: Max
    By spokes2k4 in forum Help
    Replies: 3
    Last Post: 2006-01-15, 03:50 PM
  4. php 5.0.4 + MySQL 5.0.9
    By sergiogu in forum Help
    Replies: 0
    Last Post: 2005-08-30, 04:38 PM
  5. Empty config.php at the end of install
    By aemadrid in forum Help
    Replies: 2
    Last Post: 2005-08-01, 06:29 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
  •