Search code examples
outlookexchangewebservicesexchange-server-2010

How can i send invite to another user using Exchange API


How can i send a outlook invite to another user using exchange API? Actually i'm trying this.

   ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010_SP1);
   service.Credentials = new WebCredentials("[email protected]", "example");
   Appointment appointment = new Appointment(service);

But i need send invite to ANOTHER user, using his email.


Solution

  • I use appointment.RequiredAttendees.Add(new Attendee("[email protected]")); for send invite to the person.