[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Programatic interface to Exchange

Posted on 2000-02-24
2
Medium Priority
?
234 Views
Last Modified: 2010-04-08
Is there an programmatic interface to add users and mail accounts to MS Exchange?
0
Comment
Question by:kjsmith3
[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
2 Comments
 
LVL 2

Accepted Solution

by:
Bodya earned 150 total points
ID: 2558551
There are two interfaces you can use -
MAPI (Messaging Application Programming Interface )
CDO (Collaboration Data Objects) - which is only an additional scripting interface to the MAPI

I reccommend you to read in MSDN about CDO.
0
 
LVL 2

Expert Comment

by:Bodya
ID: 2558578
Here is an example

' get PAB AddressList from AddressLists collection of Session
Dim myList As AddressList ' used to obtain PAB
Dim newEntry As AddressEntry ' new user in PAB
Dim newField As Field ' fax number of new user
' assume objSession created and logged on to without problem
Set myList = objSession.AddressLists("Personal Address Book")
' add new AddressEntry to AddressEntries collection of AddressList
Set newEntry = myList.AddressEntries.Add("FAX", "John Doe")
' add FaxNumber field to new AddressEntry and give it a value
Set newField = newEntry.Fields.Add("FaxNumber", vbString)
newField.Value = "+1-206-555-7069" ' could have supplied this in Add
' commit new entry, field, and value to PAB AddressList
newEntry.Update
 
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
By default Outlook 2016 displays only one time zone in the Calendar. The following article explains how to display two time zones in one calendar view.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

656 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