필터 지우기
필터 지우기

Accessing Outlook contact groups through ActiveX in matlab

조회 수: 3 (최근 30일)
Michael
Michael 2017년 11월 24일
I want to send out reports generated in matlab to certain contact groups in Outlook, i've been using the code from https://www.mathworks.com/matlabcentral/answers/94446-can-i-send-e-mail-through-matlab-using-microsoft-outlook , is it possible to change the "to" field from a email address to a contact group?
h=actxserver('outlook.Application');
Distribution_List_Name = h.GetNamespace('mapi').GetDefaultFolder('olFolderContacts').Items(1).Item(1).Subject;
i use the code above to find the names of the contact groups through ActiveX, but cannot find the email addresses within each group. changing it to Item(2) gives me the second contact folder name.
Anyone know more about ActiveX than me able to help? I tried to navigate through the inspector, but didn't have much luck.

답변 (0개)

카테고리

Help CenterFile Exchange에서 ActiveX에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by