ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Communicate module sending duplicate emails to same address

January 11, 2010 8:52pm

Subscribe [4]
  • #31 / Feb 15, 2010 5:06pm

    DavSam

    72 posts

    list_id   list_name   list_title   list_template

    2   news   JDCC News   {message_text} To remove your email from this mailing list, click here: {if html_email}{unsubscribe_url}{/if} {if plain_email}{unsubscribe_url}{/if}

    3   onetimenews   JDCC News Alert   {message_text} To remove your email from the “{mailing_list}” mailing list, click here: {if html_email}{unsubscribe_url}{/if} {if plain_email}{unsubscribe_url}{/if}

    4   test   Test Email   {message_text}

    To remove your email from the “{mailing_list}” mailing list,
    click here: {if html_email}{unsubscribe_url}{/if} {if plain_email}{unsubscribe_url}{/if}

    5   interpreters   Interpreters Referral List   {message_text} To remove your email from the “{mailing_list}” mailing list, click here: {if html_email}{unsubscribe_url}{/if} {if plain_email}{unsubscribe_url}{/if}

    11   actmedia1   actmedia test   {message_text} To remove your email from the “{mailing_list}” mailing list, click here: {if html_email}{unsubscribe_url}{/if} {if plain_email}{unsubscribe_url}{/if}

    The list I had in mind was ID #2.

  • #32 / Feb 15, 2010 5:15pm

    Ingmar

    29245 posts

    Very good. Now repeat the procedure with this line of code:

    SELECT email FROM exp_mailing_list WHERE list_id = "2"

    That should result in a list of all your subscribers.

  • #33 / Feb 15, 2010 5:20pm

    DavSam

    72 posts

    Got it, thanks! I get 5 pages… any way to get it all in one page, or need to copy & paste text manually from each page to excel?

  • #34 / Feb 15, 2010 5:30pm

    Ingmar

    29245 posts

    You can run the same query using the Query module as well. Create a template just as Lisa suggested above, and put in it nothing but

    {exp:query sql="SELECT email FROM exp_mailing_list WHERE list_id = '2' ORDER BY email ASC"} 
    {email}
     
    {/exp:query}

    Best to copy & paste the code to get quotes and everything correct. Then visit this template in your browser by going to htto://example.com/index.php/site/mailinglist_export or whatever group and template you used. Makes sense?

  • #35 / Feb 17, 2010 2:30pm

    DavSam

    72 posts

    Followed instructions. When I type in browser http://jdcc.org/index.php/site/mailinglist_export, I get the front page jdcc.org

    What am I doing wrong?

  • #36 / Feb 17, 2010 3:18pm

    Ingmar

    29245 posts

    You actually named your template email_export, not mailinglist_export. You can find it here (Remove template as soon as you’re done!)

    I’ve taken the liberty to go through your text file and weed out any duplicates. There were 8. For privacy reasons, I’ll let you have the file via email.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases