?
Solved

Exchange Distribution Lists

Posted on 1999-07-08
3
Medium Priority
?
262 Views
Last Modified: 2010-05-02
How can I create and modify a server based Distribution list using VB Code accessing an Exchange Server (v5.0)?
FYI: I need to run the application from the user's script file so that I can add the currently logged on users to a distribution list for that day.
0
Comment
Question by:bsandeman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Accepted Solution

by:
RickB071099 earned 400 total points
ID: 1522780
The easiest way to add users is using the Exchange Administrator Program in the import mode, although there will be a slight delay with the following method between the user logging on and his mailbox appearing in the distribution list.
Create a shared folder on a server that has the Exchange console installed. In this folder, create a csv file to use as an import file to the Exchange folder. The easiest way create the appropriate header in the file is to export a distribution list and use the fist line as the first line in your import file.
You will need to write a program to use in the login script that will add the users information to this csv, so that when the csv is imported, the user will be added to the appropriate distribution list.
To perform the import, you will need a second program running periodically on the server to import the data to exchange using admin.exe in the import mode.
To run the import periodically, set up the Task Schedular service to start automatically with a user id and password that has Exchange Administrator rights. Schedule a task to run at whatever frequency is appropriate for your environment.
All this assumes that you will have access to the appropriate data for the user to tie his logon id to his mailbox on the server. At our shop, the userid is the alias for the mailbox so this is an easy link. We currently use a similar routing to update the personal information in exchange from or mainframe personnel system.
There were several papers in the Exchange Conference (98) that dealt with admin.exe and how to use it to maintain the Exchange directory.
0
 
LVL 1

Author Comment

by:bsandeman
ID: 1522781
Thanks Rick,
I don't have much time on my hands at the moment, but when I'm back from Tenerife in 3 weeks I will grade this for you.  Sorry I can't do it sooner, but I'm working on a very important project this week, I have no time for internal issues it seems....
cheers
Bruce
0
 
LVL 1

Author Comment

by:bsandeman
ID: 1522782
Thanks Rick,
But I've come up with a more cunning solution using ADSI and Exchange 5.5
cheers
Bruce

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question