Updating appointment recipient's response status - outlook-addin

I am developing an Outlook 2010 add in using VS 2010, and c#
In that i want to modify appointment recipient's meeting status programmatically. I can read it from the property 'appointmentitem.Recipients[1].MeetingResponseStatus'. But it is a read only property. Is there any way to update this property. Manually it is possible to update (set accepted,Declined etc) this property through 'Tracking' tab of the appointment form ribbon
Since it is possible to edit the response manually i think it can be done programmatically also?
Any Help??
Thanking you in advance

Related

VSTO Outlook Add-in Set a short note/info on Mailitem

I need to set a short note or info on mail item programmatically.
As shown below for instance.
I tried with setting a custom mail item category but it doesn't appear on mail item when it is opened. I can only see it in preview.
Setting something like label or tag also works for me. How do I achieve this?
Thanks in Advance.
That area is not accessible for customization and it does not show any particular property of the selected message,

Outlook add-in activation rule for compose new appointment

I'm developing an Outlook mail app using vs 2015. I want to show my add-in only when the existing calendar item is opened. When I have the FormType as ReadOrEdit in Rule Collection of manifest, the add-in shows for the appointment while creating itself. i.e. new appointment also has add-in. I don't want to show the add-in while creating a new appointment.
Is there any way to achieve this?
Change your FormType to Read. Then it will be shown only when you open existing one.
Changing FormType to Read doesn't help. Read works for meeting appointment created by other users. If the user is the Organizer of the appointment, add-in doesn't show.

Outlook 2013 customization and integration in exchange online

I want to customize the appointment window used in Outlook. I want add few custom fields. I am using VSTO (VS2013) to develop this addin.
So far I have added a button in ribbon of appointment tab. On click of which I am opening a new form with custom fields. Now when user completes the form and other appointment details and appointment is saved then along with all appointment data, custom data entered by user should also get emailed to recipients.
And also that custom data would be stored in Exchange, and later that data can be queries to generate report.
So my question is - how do override the save appointment event so that I can add additional data in appointment and also how do I save it to exchange online using office 365.
Please advise.
Thanks.
When you are using an Exchange account which is the case with Office 365. The UserProperties of an Outlook item is kept in Exchange.
You can persist the custom data in UserProperties
If you want to Save your custom data when the appoitment is saved. You should put an event handler in the AfterWrite event. See AppointmentItem event list.

Automatically insert email signature into Outlook Meeting Invite

I have been searching the web for a way to do this but no such luck. My goal is to save a meeting agenda template into an email signature which would be inserted into every meeting invite created by me.
Looking for some clues on how to do this?
Outlook 2010 and newer include the form designer.
File -> Options -> Customize Ribbon, then, in the Right Side pane, click to turn on the Developer Tab.
From there you can design Meeting Request template to your specification.
Then, to use it, you will select:
New -> Meeting Request Using -> (Your Custom Template) from the Outlook Home tab.
You can handle the ItemSend event of the Application class where you can check out the message class of the outcoming Outlook item and change the message body if required.
Think you will find the Getting Started with VBA in Outlook 2010 article helpful.

Accessing control events of email form

I am trying to develop an add-on for outlook which requires handling control changes.
For instance I need to do some stuff when email subject is changed. To do this, I need to access text change event of subject texbox.
I was just wondering whether anyone has done such thing or not?
Thanks
Check the PropertyChange event:
Occurs when a standard property (for example, Subject or To) of a
Microsoft Outlook item is changed. The property name is passed to the
event so that you can determine which property was changed.