Accessing Outlook contact groups through ActiveX in matlab
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre ActiveX en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!