Archived Forum Post

Index of archived forum posts


unable to open .MSG file after creation

Aug 08 '17 at 13:16


I have installed Chilkat api using nuget package manager in visual studio and, I have created .msg file using the below code:

Chilkat.Email email = new Chilkat.Email();
            email.Subject = "This is a test";
            email.Body = "Hello Message .... mail... Mail.. MAil....";
            email.From = "";
            email.AddTo("Matt", "");

.MSG file is being created at the specified location but, it throwing the below error when I am trying to open the file :

ERROR: We can't open 'file_location.msg'. It's possible the file is already open, or you don't have permission to open it.

I am opening the file from super admin account only and all permissions are allowed.