protected function dispatchSentEvent($message, $data = [])
    {
        if ($this->events) {
            $this->events->dispatch(
                new Events\MessageSent($message->getSwiftMessage(), $data)
            );
        }
    }
protected function dispatchSentEvent($message, $data = [])
    {
        if ($this->events) {
            $this->events->dispatch(
                new Events\MessageSent($message->getSwiftMessage(), $data)
            );
        }
    }
protected function dispatchSentEvent ( $ message , $ data = [ ] ) { if ( $ this -> events ) { $ this -> events -> dispatch ( new Events \ MessageSent ( $ message -> getSwiftMessage ( ) , $ data ) ) ; } }
Dispatch the message sent event.

@param  \Illuminate\Mail\Message  $message
@param  array  $data
@return void
Dispatch the message sent event .