Sending Meeting Requests with Exchange Server using WebDav
Send Meeting Requests using Web Dav
To send a meeting request:
- Create a meeting request using the Appointment class and set the location, time and attendees.
- Create an instance of the MailMessage class and set the appointment using the MailMessage.addAlternateView() method.
- Connect to the Exchange Server and send the meeting request using the send(MailMessage) method.
This example uses the ExchangeClient class, which uses the WebDAV protocol to connect to the Exchange Server and can be used with any version of Exchange Server on which WebDAV is enabled, for example, Exchange 2000, 2003 or 2007.
The code snippets used to send the meeting request are given below: