Using VB I am trying to create a procedure that will add ADS "contacts" for
Exchange 2000.

The code I am using comes from Microsoft MSDN.  It uses the CDO for Exchange and
Exchange Management Library.  I am able to add the a contact as a ADS Contact
with an email address and all details filled in.

Problem is that it is not MailEnabled therefore cannot send mail to it (as a
mail recipient) or see it in the Exhange Address Book.

I am using the MailEnable feature of the CDO IRecipient (as per Microsoft
Instructuions) but it keeps having the following error:

Runtime Error '-2147467259(80004005)'

The Operation failed.

ID No: c1030721
Microsoft CDO for Exchange Management.

Has anybody tried doing adding a contact this way?  Have you seen this error
before?  Is there a better way?  OR am I missing something?

Data is coming for an SQL 2000 Database of approximately 6000 records.

Any help is much appreiciated as I have look on the MSDN and Microsoft sites and
found not much about how to solve it.

Thanks

Anthony Cox
Info' Products Belgium
Technical Consultant



List Charter and FAQ at:
http://www.sunbelt-software.com/exchange_list_charter.htm

Reply via email to