CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Purging bad e-mails - any way to do one large batch?
Pages: [1]

Author Topic: Purging bad e-mails - any way to do one large batch?  (Read 660 times)

brossbert

  • Guest
Purging bad e-mails - any way to do one large batch?
January 06, 2010, 10:42:11 am
I have a 1000+ member list of folks I'd like to purge from our contacts.  Is there any way to do this all at once (the list is a CSV file) or would I have to search one by one???

Thanks for the help!!!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Purging bad e-mails - any way to do one large batch?
January 06, 2010, 03:20:43 pm
Short of writing custom SQL / php script - this MIGHT work... but - caveat - I haven't tried this 'trick'. Experiment with a small subset in a new csv file.

- Assumption is that these contacts are in CiviCRM with their primary email = the email in your csv file
- Use the csv file as source for Import Contacts - with 'Update on Duplicate Match' flag
- Before last step of import, set the 'Add contacts to new group' setting - telling civi to add them to 'Bad Emails Group' or something like that

Assuming this works and they get put in the new group, then you can easily do Find Contacts -> in -> 'Bad Email Group' and select a page at a time and choose 'Delete Contacts' action. NOTE: Unfortunately you can only do actions on one page of search results at a time, so still will take a few steps.

Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Purging bad e-mails - any way to do one large batch?

This forum was archived on 2017-11-26.