I am developing an Outlook plug-in with which I want to prefill From, To or BCC fields when a new mail item is created. Can you point me to the event that I can use to do that and on which object. Thank you.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Latch onto the
Inspectors.NewInspectorto capture when new message items are opened. To determine if the message is in compose versus read mode checkMailItem.Sent. To prefill the fields, you can easily access the properties withOutlook.MailIteminterface.This should be a good jump-start for you, but you really should read the Outlook Object Model overview to better understand plugin integration.