c# - Why Outlook is not getting synchronized -
i developing c# application uses outlook com object library. after adding appointment calendar, shown in outlook desktop application appointment not found @ outlook web application. miserable thing appointments got synchronized , stopped synchronizing suddenly. here's how saved appointment:
outlook.application olapp = new outlook.application(); outlook.namespace mapins = olapp.getnamespace("mapi"); string profile = ""; mapins.logon(profile, null, null, null); outlook.appointmentitem apt = olapp.createitem(outlook.olitemtype.olappointmentitem); apt.save();
how can make synchronized?
i had call send method after save method, otherwise outlook sends appointment whenever wants.
outlook.application olapp = new outlook.application(); outlook.namespace mapins = olapp.getnamespace("mapi"); string profile = ""; mapins.logon(profile, null, null, null); outlook.appointmentitem apt = olapp.createitem(outlook.olitemtype.olappointmentitem); apt.save(); apt.send();
Comments
Post a Comment