case "DUPLICATE":
     if ($debug) {
         error_log("DUPLICATE1", 0);
     }
     if ($debug) {
         error_log("ID:" . $result->id, 0);
     }
     /*
      * Retrieve all campaigns an overall recipient is member of, and the groups they're member
      * of within those campaigns. Required credentials: access to area 'Overall recipients'
      * @param login: DMdelivery login object.
      * @param recipientID: The database ID of the overall recipient. Can be found via getRecipientsByMatch.
      * @returns: An array of campaigns (and groups) the recipient is member of.
      */
     try {
         $result2 = $client->getOverallRecipientCampaigns($login, $result->id);
     } catch (SoapFault $exception) {
         if ($debug) {
             error_log($exception->getMessage(), 0);
         }
         mail('*****@*****.**', 'eonieuwsbrief getOverallRecipientCampaigns Soap Error', $exception->getMessage());
     }
     $campaignexists = false;
     if ($debug) {
         error_log("DUPLICATE2", 0);
     }
     /*
     * <getOverallRecipientCampaigns_result>
      <recipientCampaign>
      <campaign_id>1</campaign_id>
      <group_ids>