下面是一個簡單的 MATLAB actxserver 示例,用于發送 Outlook 邀請,可以正常作業。但是,我的問題是如何關閉回復選項。必需的與會者不必回復,無論他們是否在場。
out = actxserver('outlook.Application');
appointment = out.CreateItem('olAppointmentItem');
appointment.Subject = 'My Subject';
appointment.Body = 'Appointment in MATLAB';
appointment.Start = '13/01/2022 09:00:00';
appointment.End = '13/01/2022 09:30:00';
appointment.RequiredAttendees = '[email protected]; [email protected]';
appointment.Save();
appointment.Send
out.release;
uj5u.com熱心網友回復:
您應該能夠從檔案中關閉該ResponseRequested屬性:
https://docs.microsoft.com/en-us/office/vba/api/outlook.appointmentitem.responserequested
如果發件人想要對約會的會議請求作出回應,則回傳一個布林值,指示 True。讀/寫。
即在你的情況下, appointment.ResponseRequested = false;
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/410394.html
標籤:
上一篇:Imagemagick與imagick的關系是什么?
下一篇:平鋪布局的中心對齊
