protected function _prepareRecipientAddresses($email)
    {
        $to = $email->getTo();
        $cc = $email->getCc();
        $bcc = $email->getBcc();

        return array_merge(array_keys($to), array_keys($cc), array_keys($bcc));
    }
protected function _prepareRecipientAddresses($email)
    {
        $to = $email->getTo();
        $cc = $email->getCc();
        $bcc = $email->getBcc();

        return array_merge(array_keys($to), array_keys($cc), array_keys($bcc));
    }
protected function _prepareRecipientAddresses ( $ email ) { $ to = $ email -> getTo ( ) ; $ cc = $ email -> getCc ( ) ; $ bcc = $ email -> getBcc ( ) ; return array_merge ( array_keys ( $ to ) , array_keys ( $ cc ) , array_keys ( $ bcc ) ) ; }
Prepares the recipient email addresses.

@param \Cake\Mailer\Email $email Email instance
@return array
Prepares the recipient email addresses .