Wednesday, 15 April 2015

which account is selected in "FROM" in VSTO outlook 2010 while sending new email? -


I am developing an add-in for Outlook 2010 using VSTO (Visual Studio 2010). I am working with mail items and want to get a new email property and I want to work in some situations while sending some e-mails, like some properties like topic , Body , to , cc , bcc , class . But I have not checked any properties like "to" , attachment (or not) , the size and name of the attachment , , request distribution , read request receipt ... and some other properties .... Below is the code I used: Private Zero This AdDyn_startup (Object Sender, System.EventArgs e) {Application.ItemSend + = new Outlook.ApplicationEvents_11_ItemSendEventHandler (Application_ItemSend); } Zero Application_ItemSend (object items, cancel riff hair) {Outlook.Recipient recipient = zero; Outlook Recipient recipient = faucet; Outlook.MailItemMail = Item as Outlook. MailItem; String selected account = ??? }

How do I get the following properties?

The sender's name is set only after the message is sent and the moved items are moved to the folder . First of all you will get access to the sender-related assets, when the item. The item folder sent to the item add event is set on fire.

To access the attachment, use the MailItem.Attachments store.

Account - Use the MailItem.SendUsingAccount property.

What was the problem with the sensitivity, the Genesis delivery report report and the read receipt?

No comments:

Post a Comment