Hi Friends ,
I am trying to connect to outlook office365 and read the mail content of a folder created with the name "TRY" through
java mail using imap protocol.
But I am always getting "Unknown encoding: 8bit" error at the line "System.out.println(message.getContent()); " in the below given code. I tried to fix the issue by the given solutions on internet but could not succeed.
Here is the code. Server name, user name and password i have given as example but using the correct one in my app.
Please help me to fix this issue.
Thanks
daniel.