Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 04-19-2016 21:05:55

luisc7410
Member
Registered: 05-06-2014
Posts: 8

Email List Export

Hi,

I tried searching in the manual and the forums but can't seem to find a way to export my current subscriber email list. I preferably need something I can use to import to Constant Contact.

Any help will be appreciated!

Offline

 

#2 04-20-2016 05:41:38

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19943
Website

Re: Email List Export

Use System / Database / Raw DB Admin to export emails from the core_guestsub table into a CSV file.


Nick Hendler

Offline

 

#3 08-10-2017 16:39:19

polarize
Moderator
Registered: 11-15-2004
Posts: 359

Re: Email List Export

I've tried to do this but unable to download the file from "save link as" from the download page.  Instead we get a 404 page


Using Kryptronic K9!  - v 9.4
Previous Versions:
ClickCartPro 8
ClickCartPro 7
ClickCartPro 6
ClickCartPro 5.1

Offline

 

#4 08-10-2017 17:09:44

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19943
Website

Re: Email List Export

Probably an SSL/non-SSL issue.  You can download directly from the {public}/downloads directory via FTP.  That's where the file is saved.


Nick Hendler

Offline

 

#5 08-11-2017 12:30:07

polarize
Moderator
Registered: 11-15-2004
Posts: 359

Re: Email List Export

Hello Nick,

Thanks for chiming in on this!  The file seems to only include all emails but not "subscribed" list emails.  Is there another way for us to export the "subscribed" email list for website updates etc.?

Thanks Again smile


Using Kryptronic K9!  - v 9.4
Previous Versions:
ClickCartPro 8
ClickCartPro 7
ClickCartPro 6
ClickCartPro 5.1

Offline

 

#6 08-14-2017 07:18:45

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19943
Website

Re: Email List Export

The core_guestsub table holds guest accounts which have maillist subscriptions.  If there's an entry there, they are a subscriber.  Are you looking also for subscribed user accounts?


Nick Hendler

Offline

 

#7 08-14-2017 11:32:38

polarize
Moderator
Registered: 11-15-2004
Posts: 359

Re: Email List Export

We are also looking for user account subscriptions to export for MailChimp.

Thanks smile


Using Kryptronic K9!  - v 9.4
Previous Versions:
ClickCartPro 8
ClickCartPro 7
ClickCartPro 6
ClickCartPro 5.1

Offline

 

#8 08-15-2017 07:29:22

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19943
Website

Re: Email List Export

I apologize for misspeaking.  I later V8 versions the subscriptions were moved entirely to that subscriber table.  To pull all user accounts, you could execute this in Raw DB Admin:

SELECT id FROM core_users

And request CSV output.  There will be duplicates between this list and the list of subscribers pulled from core_guestsub.


Nick Hendler

Offline

 

#9 08-15-2017 14:20:58

polarize
Moderator
Registered: 11-15-2004
Posts: 359

Re: Email List Export

Thanks Nick smile


Using Kryptronic K9!  - v 9.4
Previous Versions:
ClickCartPro 8
ClickCartPro 7
ClickCartPro 6
ClickCartPro 5.1

Offline

 

#10 08-25-2017 17:02:38

polarize
Moderator
Registered: 11-15-2004
Posts: 359

Re: Email List Export

Hello Nick,

We have tried SELECT id FROM core_users but the only emails we need are for those who have signed up for email subscriptions that have user accounts.  How would an SQL Statement look to segregate those emails for export?

Thanks smile


Using Kryptronic K9!  - v 9.4
Previous Versions:
ClickCartPro 8
ClickCartPro 7
ClickCartPro 6
ClickCartPro 5.1

Offline

 

#11 08-28-2017 07:59:31

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19943
Website

Re: Email List Export

I've just checked an older build, and this should work:

Code:

SELECT id FROM core_users WHERE subscriptions<>''

Nick Hendler

Offline

 

#12 09-01-2017 23:28:37

polarize
Moderator
Registered: 11-15-2004
Posts: 359

Re: Email List Export

Thanks Nick,

This works perfectly and I was able to modify it to include fname and lname in the output as to create merge tags.....

SELECT id, fname, lname FROM core_users WHERE subscriptions<>''

Now if we want to delete email bounces and unsubscribes that are maintained in MailChimp how would we structure a statement to do so?  For example, we use MailChimp to manage the exported lists for analytics but need to sync the corrections with our CCP database where customers sign up initially.

I started with this but not sure if I have the proper format...

DELETE FROM core_guestsub
WHERE id='name@email.com, name2@email.com';

The database appeared to acknowledge what I wanted to do but didn't delete the two example emails from the database.

Also, what would it look like if we wanted to simply unsubscribe a "core_user" from "subscriptions" but not delete their email or anything else?

Thanks again smile


Using Kryptronic K9!  - v 9.4
Previous Versions:
ClickCartPro 8
ClickCartPro 7
ClickCartPro 6
ClickCartPro 5.1

Offline

 

#13 09-05-2017 08:08:37

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19943
Website

Re: Email List Export

To delete a guest subscriber:

DELETE FROM core_guestsub WHERE id='name@email.com'

To delete two guest subscribers:

DELETE FROM core_guestsub WHERE id='name@email.com' OR id='name2@email.com'

To remove subscriptions for a single user account:

UPDATE core_users SET subscriptions='' WHERE id='name@email.com'

To remove subscriptions for two user accounts:

UPDATE core_users SET subscriptions='' WHERE id='name@email.com' OR id='name2@email.com'

You can pretty much take it from there...


Nick Hendler

Offline

 

Board footer