protected function retrieveMessageData($key)
    {
        $data = $this->client->get($this->data[$key])->getBody();

        if ($data instanceof Stream) {
            return $data->getContents();
        }

        return false;
    }
protected function retrieveMessageData($key)
    {
        $data = $this->client->get($this->data[$key])->getBody();

        if ($data instanceof Stream) {
            return $data->getContents();
        }

        return false;
    }
protected function retrieveMessageData ( $ key ) { $ data = $ this -> client -> get ( $ this -> data [ $ key ] ) -> getBody ( ) ; if ( $ data instanceof Stream ) { return $ data -> getContents ( ) ; } return false ; }
Retrieve the body data from the MailTrap API

@param $key

@return bool|string
Retrieve the body data from the MailTrap API