How to deal with duplicates in OutLook Global Address list with Win32Com (Python)

Marcus Clancy 0 Reputation points
2024-12-22T13:38:52.8566667+00:00

I'm trying to create a Python script that searches for entries in a GAL (Global Address List) to be processed. However, there are contacts in the GAL that have the exact same name as others, and I can't find a way to detect duplicates without looping through the GAL. I don't want to loop through the GAL, as it is very large and would take a long time. I did try using methods like .Item("name" or index) or .GetNext(), etc. Any help would be appreciated!

Outlook
Outlook
A family of Microsoft email and calendar products.
4,218 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
4,103 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.