WordPress.org

Ready to get started?Download WordPress

Forums

Mail List
view mailing list? (7 posts)

  1. catwingz
    Member
    Posted 1 year ago #

    Is it possible to view the mailing list from within the admin so that you can have the option to segment the list and choose who to send emails to? If so, how?

    http://wordpress.org/extend/plugins/mail-list/

  2. danycode
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. catwingz
    Member
    Posted 1 year ago #

    Oh well. Thanks for answering

  4. fireuponline
    Member
    Posted 1 year ago #

    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

  5. danycode
    Member
    Plugin Author

    Posted 1 year ago #

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

  6. fireuponline
    Member
    Posted 1 year ago #

    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?

  7. danycode
    Member
    Plugin Author

    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic