We help IT Professionals succeed at work.

Outlook API

Newton
Newton asked
on
My questuon is related to outlook.
I got 1000+ alias id and I need country data for this id. Is it possible to write VB script to pull out country data from alias id?

The manual procedure, put the alias ID in TO text field in write email screen and press CTRL +K and right click the name and select 'open outlook properties'  and then copy the country data.

My question is it possible to write API to outlook?
Comment
Watch Question

Bill PrewTest your restores, not your backups...
Expert of the Year 2019
Top Expert 2016

Commented:
Can you give an example of what you mean by "alias ID"?

It sounds like ultimately you are pulling up an entry from your Outlook Contacts and getting the country from that, is that correct?


»bp

Author

Commented:
Yes you are correct.

Lets say

DISPLAY NAME : JOHN MARK
ALIAS : johnmark
ADDRESS : 123 APPLE ST
COUNTRY : MARS

I have 1000 of alias id and i need to pull country info.. is it possible ?
Bill PrewTest your restores, not your backups...
Expert of the Year 2019
Top Expert 2016

Commented:
Okay, that helps.  There is no "alias" field on a Contact item in Outlook, but there is an Alias field in Exchange Global Address Lists (GAL).  Are you working with contacts from a central Exchange server, or just a local set of Contacts you entered into Outlook?


»bp

Author

Commented:
I need these data from my laptop (simple windows laptop) outlook.
Test your restores, not your backups...
Expert of the Year 2019
Top Expert 2016
Commented:
Can you take a screen capture and post it of the Contact window that has the field in it you are calling an "alias"?


»bp

Author

Commented:
Hey Bill,

I stopped doing this task. Thanks for your support and help.