Hi, I have tried creating .msg file using the below link https://stackoverflow.com/questions/157195/create-a-eml-email-file-in-java The .msg file has been generated but unable to open the .msg file because of the permission issue. Thanks in advance
That looks like a local problem with your computer’s settings. Is this a work machine that an IT department needs to change to grant permissions, or is it your own machine?
Another thing to check is if the file you created is in the correct format for Outlook to read. Can you open this file on another computer or using a different email client?