WordPress.org

Support

Support » Plugins and Hacks » view mailing list?

view mailing list?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author danycode

    @danycode

    No this is not possible, anyway you can export the mail list, edit the list with programs such excel or similar and import the list.

    Oh well. Thanks for answering

    Of course it’s possible, I’m not sure why danycode would say it’s not. He’s sharp enough to write this awesome little plugin, but can’t figure out how to pull data directly from the database? What gives danycode? 🙂

    Place the following code in the ‘menu_data.php’ file located within plugin folder inside ‘includes’:

    <!-- Code to display current list of email addresses -->
    	<div style="margin-top: 30px;">
    	<?php
    
    	global $wpdb;
    
    	$result = $wpdb->get_results( "SELECT * FROM wp_mail_list_table "); 
    
    	echo "<span style='font-size: 18px;'>Email Addresses</span>"."<br><br>";
    
    	foreach($result as $row)
    	 {
    
    	 echo $row->email."<br>";
    
    	 }
    	 ?>
    	</div>
    
    	<!-- End custom code to display email addresses -->

    Now you will have a list of email addresses appear on the “Data” page of the admin portal of the plugin. Let me know if you have any questions!

    Mark

    Plugin Author danycode

    @danycode

    Hallo fireuponline, thanks for sharing your code.
    My previous answer was about the plugin in his original form.

    No problem danycode…thanks again! Perhaps you could include my code in a future update. And, by the way, I meant to relay light-hearted humor in my comment…just for the record. 🙂

    By the way…also having trouble with adding a hyperlink to a message. It is removing the domain and replacing it with “/..” Can you help?

    Plugin Author danycode

    @danycode

    List of emails with pagination added with version 1.12 , please rate this plugin if you like it, thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘view mailing list?’ is closed to new replies.