フィルターのクリア

How can I display the email address of the account that is logged in Outlook?

2 ビュー (過去 30 日間)
Ioonut
Ioonut 2018 年 3 月 19 日
回答済み: Benjamin Großmann 2018 年 4 月 23 日
I cannot find something like "get current email Address" with actxserver('Outlook.Application')

採用された回答

Benjamin Großmann
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 件)

カテゴリ

Help Center および File ExchangeData Import and Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by