Using Outlook (COM) with Matlab: how to access an account not set as default
7 ビュー (過去 30 日間)
古いコメントを表示
Hi,
i am using the following commands to connect Outlook to Matlab (with the intention to read mails):
outlook = actxserver('Outlook.Application');
mapi=outlook.GetNamespace('mapi');
Now, instead of using mapi.GetDefaultFolder(6) to get the inbox of the default mail account, i would like to get the inbox of other Outlook accounts.
Thanks in advance for your help
0 件のコメント
回答 (1 件)
Pierre Harouimi
2021 年 10 月 24 日
Hi,
You can select any of your Outlook accounts with the field mapi.Folders.Item.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Use COM Objects in MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!