+44 (0)1223 659363 contact@acep.org.uk


Mailing out now 🙂

//removed insert_php]
global $wpdb;
$current_user = wp_get_current_user();
if ($checksum==”OK”){

$subject = “Skills audit invitation”;

$con1 = “You have been invited to complete a Skills Audit.

The purpose of this exercise is to provide individuals engaged on public consultation activities with a framework within which to assess their current skills and to prioritise their training needs.

Please click on (or follow) the link below in your web browser to proceed.

You can only submit your answers once but can come back to the survey at any time.

//add_filter( ‘wp_mail_content_type’, ‘set_html_content_type’ );

//$status = wp_mail($to, $subject, $content);

$blogusers = get_users( ‘blog_id=1&orderby=nicename&role=subscriber’ );
// Array of WP_User objects.
foreach ( $blogusers as $user ) {
$desc=get_user_meta($user->ID, ‘description’, true);
if ($desc==$fordb){

echo ‘‘ . esc_html( $user->user_email ) . ‘‘;echo “
$status = wp_mail($to, $subject, $content);}

function set_html_content_type() {
return ‘text/html’;

remove_filter( ‘wp_mail_content_type’, ‘set_html_content_type’ );

} else {echo “Sorry, that’s not permitted.”;}
Please wait while you are redirected...or Click Here if you do not want to wait.