Copy and Delete email with C# interop with Outlook Add-in

U

Ugur KARATAS

Hi all,

I write down some piece of code that copy mail item in outlook after doing
some jobs i try to delete.

But copy mail is not deleted from my mail folder (for example "Inbox" ).

What is Problem ? I cant imagine why...

[Code Snip]
Outlook.MailItem copyMail = orginalMail.Copy();
....
....
....
copyMail.Delete();
[End of Code Snip]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top