Accessing Outlook contact groups through ActiveX in matlab
조회 수: 3 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 ActiveX에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!