Outlook Event SendItem

Add-in Express™ Support Service
That's what is more important than anything else

Outlook Event SendItem
 
Helge Kunst




Posts: 5
Joined: 2005-09-15
Hi,

is it possible to cancel the send-process in the Event "adxOutlookEvents_ItemSend"? We try to check attachments and prevent a mail from sending, if special files are attached.

Regards,

Helge
Posted 15 Sep, 2005 05:40:22 Top
Sergey Grischenko


Add-in Express team


Posts: 7202
Joined: 2004-07-05
Hi Helge.

You can use the following code to cancel the send-process in Outlook:

private void adxOutlookEvents_ItemSend(object sender, AddinExpress.MSO.ADXOlItemSendEventArgs e)
{
e.Cancel = true;
}
Posted 15 Sep, 2005 11:27:05 Top
Helge Kunst




Posts: 5
Joined: 2005-09-15
Pretty simple, thank you!

Helge
Posted 15 Sep, 2005 13:29:52 Top