![]() ![]() 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. The Cancel parameter – allows you to cancel sending in Outlook.Can be represented by the AppointmentItem, MailItem, MeetingItem, MobileItem, SharingItem, TaskItem classes. The Item object – an Outlook item which is going to be sent.The ItemSend event provides two parameters to the programmer: This event triggers right after the user clicks the Send button in Outlook (before the inspector window is closed) or when the Send method of Outlook items is called. The Outlook Object Model provides the ItemSend event of the Application class for this. For example, sometimes you may need to change the subject of a message by adding an ID or something else to track the item in your Inbox add something to the e-mail body or decide whether to add an attachment to the automatically generated message or not in the process of sending e-mails and, of course, attach it if needed. It is a fairly simple task that every Outlook developer should be familiar with. As a developer you may want to modify an e-mail before sending it (eidt or just add some information, such as a non-disclosure agreement etc.). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |