public function send($view, array $data = [], $callback = null): ReceiptContract
    {
        $mailer = $this->getMailer();

        if ($view instanceof MailableContract) {
            $this->updateFromOnMailable($view)->send($mailer);
        } else {
            $mailer->send($view, $data, $callback);
        }

        return new Receipt($mailer, false);
    }
public function send($view, array $data = [], $callback = null): ReceiptContract
    {
        $mailer = $this->getMailer();

        if ($view instanceof MailableContract) {
            $this->updateFromOnMailable($view)->send($mailer);
        } else {
            $mailer->send($view, $data, $callback);
        }

        return new Receipt($mailer, false);
    }
public function send ( $ view , array $ data = [ ] , $ callback = null ) : ReceiptContract { $ mailer = $ this -> getMailer ( ) ; if ( $ view instanceof MailableContract ) { $ this -> updateFromOnMailable ( $ view ) -> send ( $ mailer ) ; } else { $ mailer -> send ( $ view , $ data , $ callback ) ; } return new Receipt ( $ mailer , false ) ; }
Force Orchestra Platform to send email directly.

@param  \Illuminate\Contracts\Mail\Mailable|string|array  $view
@param  array  $data
@param  \Closure|string|null  $callback

@return \Orchestra\Contracts\Notification\Receipt
Force Orchestra Platform to send email directly .