vb.net - Recipients.Count in VB not working -


i have outlook add-in in trying access recipients of appointment invite. though recipients column null, code outlook.appointmentitem.recipients.count returns 1, , recipients returns sender's email.

 dim recips outlook.recipients  dim recip outlook.recipient  dim flag boolean = false   cal = application.activeinspector().currentitem  recips = cal.recipients  cal.save()  messagebox.show(recips.count)  each recip in recips      messagebox.show(recip.address)  next 

can suggest why happens?

you can use getassociatedappointment method returns appointmentitem object represents appointment associated meeting request. may use following properties:

  • requiredattendees - returns semicolon-delimited string of required attendee names meeting appointment.
  • optionalattendees - returns or sets string representing display string of optional attendees names appointment.

and of course recipients property of appointmentitem class.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -