Results 1 to 3 of 3

Thread: Auto delete email where email address is not know in contacts?

  1. #1
    davidlee79 is offline Junior Member
    Join Date
    Aug 2011
    Posts
    2

    Default Auto delete email where email address is not know in contacts?

    Dear all,

    Newbie here!

    I have had a search but not been able to find the answer to this question....

    I have setup Sugar CRM CE on Ubuntu and have setup a group inbound email account (IMAP) that is reading every email sent and received into the company. (I have already worked out how to not let the email server get bogged down). This is great because it means that every email sent to or received from a client is added to their history.

    My problem is that it seems every email is kept in the database and I am guessing this will become unmanageable over time.

    It would help if I could automate the system to delete emails where there are no Contact email addresses in the header. Does anyone know if this is possible?

    This is another question but the alternative would be for my users to use BCC and forwarding but I would rather not.

    Any help and advice will be well received and please let me know if I have misguided myself with this arrangement.

    Many thanks,

    David Lee

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Auto delete email where email address is not know in contacts?

    You need to create a scheduled job to delete records from email_addr_bean_rel.

    Regards
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    davidlee79 is offline Junior Member
    Join Date
    Aug 2011
    Posts
    2

    Default Re: Auto delete email where email address is not know in contacts?

    Thanks for your reply.

    So does this table only have emails that have not been matched to a record? Can I just schedule to delete all records in that table or do I need to work out which ones do not have a relationship?

    Many thanks,

    David Lee

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. auto-populate email address from contacts
    By monicaDC in forum Developer Help
    Replies: 7
    Last Post: 2011-10-19, 02:25 PM
  2. Email auto import to Contacts
    By dsuvankar in forum Developer Help
    Replies: 0
    Last Post: 2011-05-25, 07:15 AM
  3. Replies: 3
    Last Post: 2011-02-17, 07:01 AM
  4. Replies: 1
    Last Post: 2010-08-10, 02:48 PM

Tags for this Thread

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
  •