473,386 Members | 1,846 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

create exchange public folder contact

hi everyone,

i hope you might help me on this one. i need to create a contact in a
exchange public folder using dotnet (vb or c#) and exchange 2003, without
using outlook object model. i'm searching for a few hours and can't find a
clear example on how to do it. i've already seen code blocks using webdav,
directory services, but always related with creating active directory users
or mail enabling users, not exactly what i'm looking for.

TIA

krasman
Nov 20 '08 #1
5 3758
Try perhaps around :

http://msdn.microsoft.com/en-us/libr...EXCHG.65).aspx (Creating
Folders (WebDAV) )

I'm not sure which kind of folders it creates but my guess would be just
that it depends on the location and the managed code sample seems to create
in the /public folder so I guess this would be this...

Also it lloks like this is really much more easier to work with Exchange
2007 as it seems to expose much of it using webservices...

I made a quikc search and it loks like Exchange 2003 SP2 brings support for
web services whihc could be much easier depending on the extend to which
yo'ull use webdav.

Finally you should have also third party librairies that are already
construction webdev requests for you...

Good luck.

--
Patrice
"krasman" <kr*****@hotmail.coma écrit dans le message de groupe de
discussion : #H**************@TK2MSFTNGP04.phx.gbl...
hi everyone,

i hope you might help me on this one. i need to create a contact in a
exchange public folder using dotnet (vb or c#) and exchange 2003, without
using outlook object model. i'm searching for a few hours and can't find a
clear example on how to do it. i've already seen code blocks using webdav,
directory services, but always related with creating active directory
users or mail enabling users, not exactly what i'm looking for.

TIA

krasman

Nov 20 '08 #2
Nope, no web services in SP2...

IMO you'll cry when seeing how the plumbing is done for you with Exchange
2007 :

http://msdn.microsoft.com/en-us/library/aa563302.aspx

--
Patrice

"Patrice" <http://www.chez.com/scribe/a écrit dans le message de groupe de
discussion : 91**********************************@microsoft.com...
Try perhaps around :

http://msdn.microsoft.com/en-us/libr...EXCHG.65).aspx (Creating
Folders (WebDAV) )

I'm not sure which kind of folders it creates but my guess would be just
that it depends on the location and the managed code sample seems to
create in the /public folder so I guess this would be this...

Also it lloks like this is really much more easier to work with Exchange
2007 as it seems to expose much of it using webservices...

I made a quikc search and it loks like Exchange 2003 SP2 brings support
for web services whihc could be much easier depending on the extend to
which yo'ull use webdav.

Finally you should have also third party librairies that are already
construction webdev requests for you...

Good luck.

--
Patrice
"krasman" <kr*****@hotmail.coma écrit dans le message de groupe de
discussion : #H**************@TK2MSFTNGP04.phx.gbl...
>hi everyone,

i hope you might help me on this one. i need to create a contact in a
exchange public folder using dotnet (vb or c#) and exchange 2003, without
using outlook object model. i'm searching for a few hours and can't find
a clear example on how to do it. i've already seen code blocks using
webdav, directory services, but always related with creating active
directory users or mail enabling users, not exactly what i'm looking for.

TIA

krasman

Nov 20 '08 #3
Have a look at http://support.microsoft.com/kb/313119 this says 2000 but
will work fine one 2003

Cheers
Glen

"Patrice" <http://www.chez.com/scribe/wrote in message
news:36**********************************@microsof t.com...
Nope, no web services in SP2...

IMO you'll cry when seeing how the plumbing is done for you with Exchange
2007 :

http://msdn.microsoft.com/en-us/library/aa563302.aspx

--
Patrice

"Patrice" <http://www.chez.com/scribe/a écrit dans le message de groupe
de discussion : 91**********************************@microsoft.com...
>Try perhaps around :

http://msdn.microsoft.com/en-us/libr...EXCHG.65).aspx (Creating
Folders (WebDAV) )

I'm not sure which kind of folders it creates but my guess would be just
that it depends on the location and the managed code sample seems to
create in the /public folder so I guess this would be this...

Also it lloks like this is really much more easier to work with Exchange
2007 as it seems to expose much of it using webservices...

I made a quikc search and it loks like Exchange 2003 SP2 brings support
for web services whihc could be much easier depending on the extend to
which yo'ull use webdav.

Finally you should have also third party librairies that are already
construction webdev requests for you...

Good luck.

--
Patrice
"krasman" <kr*****@hotmail.coma écrit dans le message de groupe de
discussion : #H**************@TK2MSFTNGP04.phx.gbl...
>>hi everyone,

i hope you might help me on this one. i need to create a contact in a
exchange public folder using dotnet (vb or c#) and exchange 2003,
without using outlook object model. i'm searching for a few hours and
can't find a clear example on how to do it. i've already seen code
blocks using webdav, directory services, but always related with
creating active directory users or mail enabling users, not exactly what
i'm looking for.

TIA

krasman


Nov 20 '08 #4
Hi,

thank you all for your responses.

using http://msdn.microsoft.com/en-us/libr...EXCHG.65).aspx i was
able to create folders in exchange. but i need to create contacts inside a
public folder; not the folder itself. with
http://support.microsoft.com/kb/313119 i'm getting error 400 - bad request.
however, looks like the code creates a contact in administrator's contacts
(string sUri =
"http://ExchServer/Exchange/Administrator/Contacts/JoLynnDobney.eml";). is
this true?

TIA
"Glen Scales [MVP]" <gs*****@outlookexchange.comwrote in message
news:OY**************@TK2MSFTNGP06.phx.gbl...
Have a look at http://support.microsoft.com/kb/313119 this says 2000 but
will work fine one 2003

Cheers
Glen

"Patrice" <http://www.chez.com/scribe/wrote in message
news:36**********************************@microsof t.com...
>Nope, no web services in SP2...

IMO you'll cry when seeing how the plumbing is done for you with Exchange
2007 :

http://msdn.microsoft.com/en-us/library/aa563302.aspx

--
Patrice

"Patrice" <http://www.chez.com/scribe/a écrit dans le message de groupe
de discussion : 91**********************************@microsoft.com...
>>Try perhaps around :

http://msdn.microsoft.com/en-us/libr...EXCHG.65).aspx
(Creating Folders (WebDAV) )

I'm not sure which kind of folders it creates but my guess would be just
that it depends on the location and the managed code sample seems to
create in the /public folder so I guess this would be this...

Also it lloks like this is really much more easier to work with Exchange
2007 as it seems to expose much of it using webservices...

I made a quikc search and it loks like Exchange 2003 SP2 brings support
for web services whihc could be much easier depending on the extend to
which yo'ull use webdav.

Finally you should have also third party librairies that are already
construction webdev requests for you...

Good luck.

--
Patrice
"krasman" <kr*****@hotmail.coma écrit dans le message de groupe de
discussion : #H**************@TK2MSFTNGP04.phx.gbl...
hi everyone,

i hope you might help me on this one. i need to create a contact in a
exchange public folder using dotnet (vb or c#) and exchange 2003,
without using outlook object model. i'm searching for a few hours and
can't find a clear example on how to do it. i've already seen code
blocks using webdav, directory services, but always related with
creating active directory users or mail enabling users, not exactly
what i'm looking for.

TIA

krasman


Nov 21 '08 #5
You need to change that URL to the folder you want to create the contact in
eg if you wanted to create contacts in a public contacts folder then you
would use "https://servername/public/contactsfolder/" the JoLynnDobney.eml
section of the URL you need to create yourself this needs to be a unique
value for each object in the folder. 400 errors generally point to problems
with malformed XML in the request you sending

Cheers
Glen

"krasman" <kr*****@hotmail.comwrote in message
news:uD*************@TK2MSFTNGP06.phx.gbl...
Hi,

thank you all for your responses.

using http://msdn.microsoft.com/en-us/libr...EXCHG.65).aspx i
was able to create folders in exchange. but i need to create contacts
inside a public folder; not the folder itself. with
http://support.microsoft.com/kb/313119 i'm getting error 400 - bad
request. however, looks like the code creates a contact in administrator's
contacts (string sUri =
"http://ExchServer/Exchange/Administrator/Contacts/JoLynnDobney.eml";). is
this true?

TIA
"Glen Scales [MVP]" <gs*****@outlookexchange.comwrote in message
news:OY**************@TK2MSFTNGP06.phx.gbl...
>Have a look at http://support.microsoft.com/kb/313119 this says 2000 but
will work fine one 2003

Cheers
Glen

"Patrice" <http://www.chez.com/scribe/wrote in message
news:36**********************************@microso ft.com...
>>Nope, no web services in SP2...

IMO you'll cry when seeing how the plumbing is done for you with
Exchange 2007 :

http://msdn.microsoft.com/en-us/library/aa563302.aspx

--
Patrice

"Patrice" <http://www.chez.com/scribe/a écrit dans le message de
groupe de discussion :
91**********************************@microsoft.com...
Try perhaps around :

http://msdn.microsoft.com/en-us/libr...EXCHG.65).aspx
(Creating Folders (WebDAV) )

I'm not sure which kind of folders it creates but my guess would be
just that it depends on the location and the managed code sample seems
to create in the /public folder so I guess this would be this...

Also it lloks like this is really much more easier to work with
Exchange 2007 as it seems to expose much of it using webservices...

I made a quikc search and it loks like Exchange 2003 SP2 brings support
for web services whihc could be much easier depending on the extend to
which yo'ull use webdav.

Finally you should have also third party librairies that are already
construction webdev requests for you...

Good luck.

--
Patrice
"krasman" <kr*****@hotmail.coma écrit dans le message de groupe de
discussion : #H**************@TK2MSFTNGP04.phx.gbl...
hi everyone,
>
i hope you might help me on this one. i need to create a contact in a
exchange public folder using dotnet (vb or c#) and exchange 2003,
without using outlook object model. i'm searching for a few hours and
can't find a clear example on how to do it. i've already seen code
blocks using webdav, directory services, but always related with
creating active directory users or mail enabling users, not exactly
what i'm looking for.
>
TIA
>
krasman
>
>




Nov 21 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: bridor | last post by:
hi, does someone knows how to create exchange public folder with vb.net?
0
by: bridor | last post by:
hi *.*, does someone knows how to create public folders in exchange with vb.net?
1
by: Tom Petersen | last post by:
Is there a way to display a calendar created in a public folder? We are using Exchange 2003 and have an intranet and I would like to pull the daily view form the calendar and display it at the...
0
by: Manuel Krummenacher | last post by:
Hello! I'm trying to develop an application to manage email-forwardings on an Exchange 2000 Server. Forwardings to external Addresses are requiring a contact with an Exchange account. I can...
1
by: Kim Nørby Andersen | last post by:
I'm in a situation, where i'm supposed to develop a windows service, connecting to an external source, and insert new contact persons to an Exchange public folder. Everything is going well, until I...
1
by: Chris Thunell | last post by:
I have some vb.net code that goes and gets some information from our Contacts Public folder named "Pierce Contacts". As you see from the code below, i reference this folder by first navigating to...
0
by: Ripley | last post by:
I see that we can still use the CDO within the .NET framework - but is it actually possible to create PUBLIC folders in Exchange (not individual mailbox folders - but a new folder under the "public...
0
by: timmmahh | last post by:
Hi Does anyone have any tips/examples on how you can check if a windows user account has read access to a microsoft exchange public folder? My application can only access active directory, so...
5
by: krasman | last post by:
hi everyone, i hope you might help me on this one. i need to create a contact in a exchange public folder using dotnet (vb or c#) and exchange 2003, without using outlook object model. i'm...
0
by: davidiwharper | last post by:
Hello all I am trying to modify a CDO script that moves email messages out of a user's inbox and into a drop folder. I want to update it to use a Public Folder instead. The portion of the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.