I am trying to get the mime-content of the message with attachment, I am using 3.1.0, which has content method, I am using this method to get the mime-content(uses /$value), below is my request. Below is the reference documentation we are using.
I am getting the response with code 200 and header as Content-Type: text/plain, body has nothing and body.contentLength() is coming as -1,
Yes, the mail has body and attachment in it.
Kindly help me if I am missing anything in the request/headers
Code for mime content for message: Request: https://graph.microsoft.com/v1.0/users/{Email Id}/messages/{message id}/$value
InputStream stream = graphClient.users("emailId")
.messages(message.id)
.content()
.buildRequest()
.get();