protected function addressMessage($mailMessage, $notifiable, $notification, $message)
    {
        $this->addSender($mailMessage, $message);

        $mailMessage->to($this->getRecipients($notifiable, $notification, $message));

        if (! empty($message->cc)) {
            foreach ($message->cc as $cc) {
                $mailMessage->cc($cc[0], Arr::get($cc, 1));
            }
        }

        if (! empty($message->bcc)) {
            foreach ($message->bcc as $bcc) {
                $mailMessage->bcc($bcc[0], Arr::get($bcc, 1));
            }
        }
    }
protected function addressMessage($mailMessage, $notifiable, $notification, $message)
    {
        $this->addSender($mailMessage, $message);

        $mailMessage->to($this->getRecipients($notifiable, $notification, $message));

        if (! empty($message->cc)) {
            foreach ($message->cc as $cc) {
                $mailMessage->cc($cc[0], Arr::get($cc, 1));
            }
        }

        if (! empty($message->bcc)) {
            foreach ($message->bcc as $bcc) {
                $mailMessage->bcc($bcc[0], Arr::get($bcc, 1));
            }
        }
    }
protected function addressMessage ( $ mailMessage , $ notifiable , $ notification , $ message ) { $ this -> addSender ( $ mailMessage , $ message ) ; $ mailMessage -> to ( $ this -> getRecipients ( $ notifiable , $ notification , $ message ) ) ; if ( ! empty ( $ message -> cc ) ) { foreach ( $ message -> cc as $ cc ) { $ mailMessage -> cc ( $ cc [ 0 ] , Arr :: get ( $ cc , 1 ) ) ; } } if ( ! empty ( $ message -> bcc ) ) { foreach ( $ message -> bcc as $ bcc ) { $ mailMessage -> bcc ( $ bcc [ 0 ] , Arr :: get ( $ bcc , 1 ) ) ; } } }
Address the mail message.

@param  \Illuminate\Mail\Message  $mailMessage
@param  mixed  $notifiable
@param  \Illuminate\Notifications\Notification  $notification
@param  \Illuminate\Notifications\Messages\MailMessage  $message
@return void
Address the mail message .