

This component contains the list of major events the Outlook Object Model provides to the programmer. In Add-in Express based add-ins you can use the component to access the ItemSend event in Outlook. Looks like a simple replica (a few lines of code -)) of the Auto BCC for Outlook add-in developed by our guys from the AbleBits team. And finally, I add myself to the BCC field: add a new recipient to the Recipients collection of the e-mail message and set its type to the BCC value. In the code below I add an importance notice to the subject (“ !IMPORTANT“), add a string to the end of the message body like my Windows Phone 7 smartphone does (“ Sent from my Outlook 2010“). For example, you can inspect the message properties and, if it contains some confidential information you don’t want to be sent outside, you can just cancel sending it. Add-in Express encapsulates these two parameters into the class which has the corresponding properties: the Item and Cancel properties.Īs you see, the ItemSend event allows canceling the initiated sending process. If you set the Cancel parameter to true in the event handler, the sending process is cancelled and the inspector window is shown to the user.


/cdn.vox-cdn.com/uploads/chorus_image/image/67061915/outlook.0.jpg)
Can be represented by the AppointmentItem, MailItem, MeetingItem, MobileItem, SharingItem, TaskItem classes.
