Wrox Programmer Forums
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 28th, 2005, 09:40 AM
Authorized User
Join Date: Jun 2003
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default address list from exchange

I am building a form that will be sent off in email. I have the CDO part figured out and I have but one field left to populate with the email names from our exchange server. I need to figure out the LDAP path to get the EMail names. Here is what I have so far that does work. I would like to be able to Response.Write the LastName, FirstName, and EMail name.

Set cont = GetObject("LDAP://Mail01")
For Each obj in cont
   Response.Write obj.Name & "<BR>"

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 19 Address List tfackler BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 3 October 12th, 2006 10:31 AM
Chapter 19 Address List problem srgibson99 BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 1 June 15th, 2005 05:21 PM
Retreiving IP address & gateway address sjangit VBScript 0 February 3rd, 2004 02:02 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.