Click here to Skip to main content
15,900,724 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I maintain a global roster of almost 3000 resources around the globe. I often send emails out. however there are always inactive addresses out there. is it possible to create a VB code to connect to our corporate address book and check if that persons email is still active or not based on my list of names?i'm super new to VB.Thank you for your responses.

What I have tried:

i tried doing it manually by pasting names in the TO field in outlook and check if an error shows up. i also tried using AD thru Power Query but it takes so much time to download.
Posted
Updated 15-Apr-16 13:31pm
v2
Comments
[no name] 14-Apr-16 17:11pm    
Every Email address once created, will not be overriden later. So theoretically they are all active. But whether people are still actively using them, i think you need an information like when they were recently being used from the Hosts. I dont think they will be sharing stuff like this with you.
Shilos_Dad 15-Apr-16 1:27am    
thanks for your response. Is there a way to query the AD if the account is still active thru a VB script?

1 solution

check these,

http://neophob.com/2006/09/get-e-mail-address-from-active-directory-vbs-script/
https://social.msdn.microsoft.com/Forums/en-US/1f8a52a5-34e2-42e2-afff-d5b90e5b739b/retrieve-ad-info-for-one-user-using-vbscript?forum=scripting
http://stackoverflow.com/questions/282627/vbscript-ldap-is-there-a-way-to-query-for-physicaldeliveryofficename-using-the
http://serverfault.com/questions/27223/command-line-active-directory-query-email-address-for-username
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900