Hasil Seleksi

// Email all the Mike's
require_once(ABSPATH . 'wp-content/plugins/contact-form-7-to-database-extension/CFDBFormIterator.php');
$exp = new CFDBFormIterator();
$exp->export('my-form', array('show' => 'name,email', 'search' => 'Mike'));
while ($row = $exp->nextRow()) {
wp_mail($row['email'], 'Hello ' . $row['name'], 'How are you doing?');
}