Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
How so I get mailchimp to add new users I imported through the user import module? Nobody is opted in on the mailing list.
Comments
Comment #1
levelos CreditAttribution: levelos commentedShould work for required lists, as those are handled via hook_user.
Comment #2
levelos CreditAttribution: levelos commentedForgot to mention, this will only work if you mark your list as required.
Comment #4
miss-susan CreditAttribution: miss-susan commentedI would like to add the following documentation for all that come after me...if you test the User Import module with the sample.txt file they supply, the email addresses they use (ex - john@example.com) will not sync with Mailchimp.
Mailchimp apparently flags the "example.com" domain as not being valid and will not allow the address to be synced. It will return errors to the logs such as "There is no record of "john@example.com" in the database" and "Invalid Email Address: john@example.com".
I changed the email addresses to a less example-ish address (homer@simpson.com worked) for my upload and all is good. Now if I could get the last hour of my life back I just spend debugging this...
Comment #5
johnny-j-hernandez CreditAttribution: johnny-j-hernandez commentedHi, can you tell me where I set that the list is required? Is this the "Sync Required Lists During Cron" checkbox in the "Mailchimp Cron" section? I couldn't find where else I can set this either in the admin settings on drupal or on mailchimp.
Thanks
Nevermind I found it.