[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 287
  • Last Modified:

How do I do delete an incoming email message in C#

I created an outlook addin and I'm trying to delete incoming email messages after some processing is done. I'm using C#. How do I accomplish this task.
0
Fosterlo7
Asked:
Fosterlo7
1 Solution
 
zeesh80Commented:
0
 
DavidT543Commented:
How far have you got?

to delete items you use item.delete

To get the incoming items you monitor event application_newmail
0
 
Fosterlo7Author Commented:
thanks, I'll try this.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now