How can I display the email address of the account that is logged in Outlook?
조회 수: 5 (최근 30일)
이전 댓글 표시
I cannot find something like "get current email Address" with actxserver('Outlook.Application')
댓글 수: 0
채택된 답변
Benjamin Großmann
2018년 4월 23일
Maybe you can use the SmtpAddress Property of the account object?
clearvars, close all, clc
acx = actxserver('outlook.Application');
acc = acx.Session.Accounts.Item(1); % adapt, if you have more than one account and select a specific one
disp(acc.SmtpAddress)
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Web Services에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!