Location: PHPKode > scripts > Export email list to CSV and vCard > export-email-list-to-csv-and-vcard/test.php
<?php
include('emailexport.class.php');
$emailExport = new emailExport();

$emails = array();
$emails[] = array('firstName' => 'Igor', 'middleName' => 'Herson', 'lastName' => 'Aquino', 'email1' => 'hide@address.com', 'email2' => 'hide@address.com', 'email3' => 'hide@address.com');
$emails[] = array('firstName' => 'Jenner', 'middleName' => 'Portela', 'lastName' => 'Chagas', 'email1' => 'hide@address.com', 'email2' => 'hide@address.com');

$emailExport->getList($emails);
$emailExport->exportVcard();
$emailExport->exportCsv();
?>
<p align="right"><span><a href="export.vcf">Exportar para vCard</a></span> - <span><a href="export.csv">Exportar para CVS</a></span></p>
Return current item: Export email list to CSV and vCard