newmail

How do I play the "New Mail" system sound in .Net?

How do I play the "New Mail" system sound in C#? This is also called the "Notify" sound. In Win32, that would be something like sndPlaySound('Notify', (SND_ALIAS or SND_ASYNC)); So how do you do that in .Net? I know that you can do System.Media.SystemSounds.Asterisk.Play(); But there's a very limited set of five sounds there - n...

VSTO: process mail using newmailex before outlook rules move mail

I am creating an addon for Outlook 2007 that reads a mail item when it is received, and then rewrites it. The addon works great, and rewrites the mail for items that do not have an Outlook rule that moves them into another folder. If there is a rule, it is still fine about 50% of the time. The other 50% of the time, the rule moves the ma...

Outlook plugin new mail information C#

Hi, I am working on an outlook plug-in. Now, I have a requirement to know the attached file name, size and possible then the content of mail before downloading the mail in the outlook. So, we can take action accordingly and delete the mail then and there. I know the new mail event is fired from Outlook when a new mail arrived. So, thi...