I’m using C# programming to develop a program in which I have to open OST file. After reading lines of code I got stuck in errors and didn’t get any solution. Then I read so many forums to fix the errors. But still, an error occurs. I have used this lines of code for developing a program.
mail = OutlookApp.CreateItem ( Outlook.OlItemType.olMailItem )
as Outlook.MailItem; mail.Subject = "A programatically generated e-mail"; mailRecipients = mail.Recipients; mailRecipient = mailRecipients.Add **(** "Eugene Astafiev" **)** ; mailRecipient.Resolve **()** ;
In the above lines of code, I got the errors. I have found this problem over this forum and found one reference but it’s not helpful for me.
Then I found few references over the web but I’m getting confused which reference can easily fix my problem.
Please provide assistance.