Results 1 to 9 of 9

Thread: Delete emails

  1. #1
    froilan.alfaro is offline Senior Member
    Join Date
    Jun 2009
    Posts
    25

    Default Delete emails

    How do I delete the mail settings for all users at once?. What is the MySQL table that stores that data?.
    Thanks

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Delete emails

    Truncate inbound_email
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    froilan.alfaro is offline Senior Member
    Join Date
    Jun 2009
    Posts
    25

    Default Re: Delete emails

    all records?

  4. #4
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Delete emails

    That's what the "truncate" command would do...
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  5. #5
    froilan.alfaro is offline Senior Member
    Join Date
    Jun 2009
    Posts
    25

    Default Re: Delete emails

    Ok, you're all deleted.
    The meetings and the cache (the last shows that you have reviewed) can also be removed?

  6. #6
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Delete emails

    truncate meetings;
    truncate tracker;

    I am assuming you have a backup of your database already in place....yes?
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  7. #7
    froilan.alfaro is offline Senior Member
    Join Date
    Jun 2009
    Posts
    25

    Default Re: Delete emails

    Yes, I have backup.
    If I delete the cache of a user only, would be the same table?.

    There is some document of the relationship of the tables?
    THANKS!

  8. #8
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Delete emails

    Yes, same tracker table, but you would need to use the DELETE command instead so you can specify the WHERE clause to narrow it down to a single user.

    See here for diagram: http://www.sugarcrm.com/forums/showthread.php?t=21948
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  9. #9
    froilan.alfaro is offline Senior Member
    Join Date
    Jun 2009
    Posts
    25

    Default Re: Delete emails

    thanks you are a crack!!!!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. how can I delete (sent) emails entierly
    By vanheeswijk in forum Help
    Replies: 0
    Last Post: 2009-10-13, 12:58 PM
  2. Can't delete emails in 5.0.0a
    By slg in forum Help
    Replies: 27
    Last Post: 2009-05-07, 01:53 AM
  3. Delete Emails is too slow
    By AshVardanyan in forum Help
    Replies: 0
    Last Post: 2009-03-18, 08:52 AM
  4. can not delete emails through sugar
    By rleroux in forum Help
    Replies: 4
    Last Post: 2008-06-01, 11:19 PM
  5. Replies: 0
    Last Post: 2008-01-22, 02:31 AM

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
  •