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 Import (Moderator: Yashodha Chaku) »
  • When you import data check the privacy or communications options
Pages: [1]

Author Topic: When you import data check the privacy or communications options  (Read 379 times)

Jon-man

  • I’m new here
  • *
  • Posts: 19
  • Karma: 1
  • Supporting voluntary action since 1975
  • CiviCRM version: 4.4.6
  • CMS version: Drupal 7.28
  • MySQL version: 5.1.68-cll
  • PHP version: 5.3.18
When you import data check the privacy or communications options
April 28, 2014, 01:25:09 am
We have been importing contact data into CiviCRM 4.3.5 the values for do_not_email, do_not_phone, do_not_mail, do_not_sms and do_not_trade are null unless specified.

For us, this meant we were confused as to why our mailing lists were so small - contacts were being omitted as the values weren't being set. Just remember to set the communications preferences, otherwise your contacts won't be included to mailings/sms.

# SQL query to fix this.
update civicrm_contact set do_not_email=0 where do_not_email is null;

Hope this helps someone.

JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
Re: When you import data check the privacy or communications options
April 28, 2014, 08:44:16 am
This is related to this bug, which was fixed in 4.4: https://issues.civicrm.org/jira/browse/CRM-12748.

However, it sounds like this fix may not fix your use case.  If you can replicate this same bug on the demo server (which runs the current version), it's worth opening a second bug report.
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

Wes Reimer

  • I post occasionally
  • **
  • Posts: 49
  • Karma: 1
  • CiviCRM version: 4.4.6
  • CMS version: WordPress 3.9.x
  • MySQL version: 5.5.36-cll
  • PHP version: 5.3.27
Re: When you import data check the privacy or communications options
May 27, 2014, 08:34:24 am
I did not have this issue with 4.4.5. All those fields were set to zero during import.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • When you import data check the privacy or communications options

This forum was archived on 2017-11-26.