Alo EasyMail Newsletter

= 8)? true: false; ?> query( $wpdb->prepare( "SELECT ID FROM {$wpdb->prefix}easymail_sendings WHERE ID = %d {$where_user}", $_REQUEST['id'], $user_ID ) ); if ($check_id) { if ( $wpdb->query($wpdb->prepare( "DELETE FROM {$wpdb->prefix}easymail_sendings WHERE ID = %d", $_REQUEST['id'], $user_ID )) ) { echo '

Newsletter successfully deleted

'; } else { echo '

Impossible to delete the selected newsletter

'; } } } /** * If feedback message */ if ( isset( $_REQUEST['message'])) : switch($_REQUEST['message']) { /*case 'inprogress': // others newsletter in queue $fbk_msg .= '

Already sending a newsletter.

'; break;*/ case 'success': // ok, sending scheduled $fbk_msg = '
'; $fbk_msg .= '

'; $fbk_msg .= 'New sending added with success!

'; $fbk_msg .= "
"; break; case 'error': // error in inputs $fbk_msg = '
'; $fbk_msg .= '

'; $fbk_msg .= 'Inputs are incompled or wrong. Please check and try again.

'; $fbk_msg .= "
"; break; case 'nosending': // error on sending $fbk_msg = '
'; $fbk_msg .= '

'; $fbk_msg .= 'Impossible to send. Please try again.

'; $fbk_msg .= "
"; break; default: } // print feedback echo $fbk_msg; endif; // end if ( isset( $_REQUEST['message'])) ?> get_results("SELECT * FROM {$wpdb->prefix}easymail_sendings WHERE sent = 0 ORDER BY ID ASC"); //echo "
";print_r($news_on_queue);echo "
"; if (count($news_on_queue)) { ?> ID}' class='$class'>\n"; ?> "; $row_count++; } echo "
Newsletters scheduled for sending (refresh»)
Queue
Scheduled by Added on Subject Progress Action
'; } else { echo $row_count; } ?> user == $user_ID) { echo "you"; } else { if ($can_see_all) { echo get_usermeta($q->user, 'nickname'); } else { echo"another user"; } } ?> start_at))." h.".date("H:i", strtotime($q->start_at)) ?> user == $user_ID || $can_see_all)? $q->subject : ""; ?> recipients ); $q_tot = count($q_recipients); $n_sent = 0; foreach ($q_recipients as $qr) { if ( isset($qr['result']) ) $n_sent ++; } echo round($n_sent*100/ $q_tot ) . " %" ; ?> user == $user_ID || $can_see_all) { echo ""; echo "Cancel"; } ?>
"; echo "

 

"; } ?> get_results("SELECT * FROM {$wpdb->prefix}easymail_sendings WHERE sent = 1 {$where_user} ORDER BY ID DESC"); //echo "
";print_r($news_on_queue);echo "
"; if (count($news_done)) { ?> Scheduled by'; ?> ID}' class='$class'>\n"; ?> ". ( ($q->user == $user_ID)? "you": get_usermeta($q->user, 'nickname') ). ""; } ?> "; $row_count++; } echo "
Newsletters sent BY
#
Added on Completed Subject Report
start_at))." h.".date("H:i", strtotime($q->start_at)) ?> last_at))." h.".date("H:i", strtotime($q->last_at)) ?> user == $user_ID || $can_see_all)? $q->subject : "" ?> user == $user_ID || $can_see_all) { echo ""; echo "Cancel - "; echo "ID})\">"; echo "View"; } ?>
"; echo "

 

"; } ?> = '2.8') { wp_enqueue_script( 'common' ); wp_enqueue_script( 'jquery-color' ); wp_print_scripts('editor'); if (function_exists('add_thickbox')) add_thickbox(); wp_print_scripts('media-upload'); if (function_exists('wp_tiny_mce')) wp_tiny_mce(); wp_admin_css(); wp_enqueue_script('utils'); do_action("admin_print_styles-post-php"); do_action('admin_print_styles'); } else { wp_admin_css('thickbox'); wp_print_scripts('jquery-ui-core'); wp_print_scripts('jquery-ui-tabs'); wp_print_scripts('post'); wp_print_scripts('editor'); add_thickbox(); wp_print_scripts('media-upload'); if (function_exists('wp_tiny_mce')) wp_tiny_mce(); } ?>

Recipients

Choose the kind of recipients (people who subscribe the newsletter or the registered users):

To send to other people insert a list of e-mail addresses separated by comma (,):

 

Subject and text of the e-mail

Choose to send a simple generic e-mail or one about a specific post (in the latter case you can use the specific tags listed below).

$n_last_posts, 'order' => 'DESC', 'orderby' => 'date' ); $get_posts = get_posts($args); $tot_posts = count($get_posts); echo ''; ?>

Subject:

Main body (you can use the tags listed below):

[POST-TITLE]The link to the title of the selected post.
[POST-EXCERPT]The excerpt (if any) of the post.
[POST-CONTENT]The main content of the post. Warning: this tag inserts the test as it is, including shortcodes from other plugins.
[USER-NAME]Name and surname of registered user. (For subscribers: the name used for registration)
[USER-FIRST-NAME]First name of registered user. (For subscribers: the name used for registration).
[SITE-LINK]The link to the site.E.g.: ".get_option('blogname')."" ?>

Send

Click once and wait for the sending to be over.