protected function addRecipients(Message $message){

        if($overwriteTo = $this->getOverwriteTo()){
            $message->to($overwriteTo);
            return;
        }

        $first = true;

        foreach($this->recipients as $recipient){

            if($first){
                $message->to($recipient);
            }
            else{
                $message->bcc($recipient);
            }

            $first = false;

        }

    }
protected function addRecipients(Message $message){

        if($overwriteTo = $this->getOverwriteTo()){
            $message->to($overwriteTo);
            return;
        }

        $first = true;

        foreach($this->recipients as $recipient){

            if($first){
                $message->to($recipient);
            }
            else{
                $message->bcc($recipient);
            }

            $first = false;

        }

    }
protected function addRecipients ( Message $ message ) { if ( $ overwriteTo = $ this -> getOverwriteTo ( ) ) { $ message -> to ( $ overwriteTo ) ; return ; } $ first = true ; foreach ( $ this -> recipients as $ recipient ) { if ( $ first ) { $ message -> to ( $ recipient ) ; } else { $ message -> bcc ( $ recipient ) ; } $ first = false ; } }
Adds the recipients to the message

@param \Illuminate\Mail\Message $message
@return void
Adds the recipients to the message