SparkPost\Transmission::formatBlindCarbonCopy PHP Method

formatBlindCarbonCopy() private method

Formats bcc list into recipients list.
private formatBlindCarbonCopy ( array $payload ) : array
$payload array - the request body
return array - the modified request body
    private function formatBlindCarbonCopy($payload)
    {
        //If there's a list of BCC recipients, move them into the correct format
        if (isset($payload['bcc'])) {
            $payload = $this->addListToRecipients($payload, 'bcc');
        }
        return $payload;
    }