Need to extract emails

Discussion in 'WordPress' started by alanmark, Jun 5, 2013.

  1. #1
    Hello guys,

    I have a wordpress blog which is in sub-domain right now but I have a plan to upgrade it to a top level domain when it gets much more popular.
    Anyway, lets get to the point. I am receiving more than 10 blog comments daily and I just want to extract the email addresses of those commentators. Is this possible? If yes then I would like to know the way.

    ~Alan
     
    alanmark, Jun 5, 2013 IP
  2. Devtard

    Devtard Notable Member

    Messages:
    850
    Likes Received:
    133
    Best Answers:
    4
    Trophy Points:
    220
    #2
    If your blog is hosted on wordpress.com, I think that the only way to retrieve all comments with their emails is to download all content by using the export tool (WP Admin → Tools). After that you'll have to filter all the emails somehow.

    If you are running your own WP, you can display the addresses from your database via the following SQL query in phpMyAdmin:

    SELECT DISTINCT comment_author_email FROM wp_comments WHERE comment_approved =  '1'
    Code (markup):
    There is a tool for exporting results.
     
    Devtard, Jun 6, 2013 IP
  3. ninjacrunch.com

    ninjacrunch.com Greenhorn

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #3
    You can also use a plugin which is easier. I found this > http://www.xs650chopper.com/extract-commenters-e-mail-wordpress-plugins/

    Hope it helps.
     
    ninjacrunch.com, Jun 9, 2013 IP