confirmEmailList
public static array confirmEmailList(string token)
get the List of emails that the Benchmark user has sent for confirmation.
| Parameters |
| string token | Your Benchmark Email token |
| Returns |
| array | Returns an array with the results. |
- <?php
- /**
- This Example shows how to get the List of confirmed emails for your account using XML-RPC.
- Note that we are using the PEAR XML-RPC client and recommend others do as well.
- **/
- require_once 'XML/RPC2/Client.php';
- require_once 'inc/config.php';
- $client = XML_RPC2_Client::create($apiURL);
- $token = $client->login($apiLogin, $apiPassword);
- $ConfirmedEmails = $client->confirmEmailList($token);
- print_r($ConfirmedEmails);
- ?>