Exchange 2003 Custom Application, read emails from sereval m
Exchange Server Forum Index Exchange Server
Discussion forums for Microsoft Exchange Server users.
Microsoft Outlook
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web ExchangeServerHelp.com
Exchange 2003 Custom Application, read emails from sereval m

 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development
Author Message
Joey
Guest





Posted: Sun Aug 07, 2005 4:58 pm    Post subject: Exchange 2003 Custom Application, read emails from sereval m Reply with quote

I am hopeing someone can help cause I can't find a solution. I am trying to
create an application that will read all the emails in a specified accounts
in my exchange server. I need to be able to specify several mailboxes and
then have it read the emails in both thier inbox and outbox and tag the email
and put the contents into a database if the email address matches a clients
email. I want to do it at the exchange server level and not the outlook
client level.

I downloaded the Exchange SDK and they only have examples of letting you log
into a single mailbox and performing what I need. Is there not a way to look
at the entire store with one acocunt that has admin right across all
mailboxes and access the emails?

Some examples let one user access all boxes but only the inbox and only
after I delegated that user with permissions to access the inbox through
outlook. That would work but I don't see a way to delegate a users
permissions to read the sent items, only the inbox.

I hope that all made sense and any example would be a huge help!

Thanks!

Back to top
Joey
Guest





Posted: Sun Aug 07, 2005 11:09 pm    Post subject: Re: Exchange 2003 Custom Application, read emails from serev Reply with quote

Thanks for the reply Michael. I have been through most of the examples and
it seemed that using webdav you still had to do that delegate thing in
outlook to let a user have permissions. I guess then my problem is I don't
understand how to set the correct permissions in exchange. I used the
adminstration delegation wizard in exchange and gave a user full
administration permissions but they still can't seem to access all the
folders of a user. Do you have to add them to a certain security group in
active directory?

Thanks again!

"Michael" wrote:

Quote:
Because I am familiar with WebDAV then I will recommend you WebDAV as programming technology for your application.
Possible you can use some other technology for your application.

With WebDAV you can use one account with permission (full mailbox permission) to access to all (or specified) users mailboxes.
You will be able to read mails from inbox, outbox or any other folder and store them in a database.

Exchange SDK contains many samples how to use WebDAV and this will be good start point.

Michael
-------------------------------
If you need WebDAV API for Exchange server,
use our component WebDAV .NET for Exchange.
Check out http://www.independentsoft.com


"Joey" <joey@newsgroup.nospam> wrote in message news:6116815A-1A5F-493C-B44F-EE502FD311BB@microsoft.com...
I am hopeing someone can help cause I can't find a solution. I am trying to
create an application that will read all the emails in a specified accounts
in my exchange server. I need to be able to specify several mailboxes and
then have it read the emails in both thier inbox and outbox and tag the email
and put the contents into a database if the email address matches a clients
email. I want to do it at the exchange server level and not the outlook
client level.

I downloaded the Exchange SDK and they only have examples of letting you log
into a single mailbox and performing what I need. Is there not a way to look
at the entire store with one acocunt that has admin right across all
mailboxes and access the emails?

Some examples let one user access all boxes but only the inbox and only
after I delegated that user with permissions to access the inbox through
outlook. That would work but I don't see a way to delegate a users
permissions to read the sent items, only the inbox.

I hope that all made sense and any example would be a huge help!

Thanks!
Back to top
Henning Krause [MVP - Exc
Guest





Posted: Sun Aug 07, 2005 11:27 pm    Post subject: Re: Exchange 2003 Custom Application, read emails from serev Reply with quote

Hello,

the permission that Michael mentioned is a special one in Exchange. It is
the "Sent As" and "Receive As" permission. You can grant this to the user
which will access the maiboxes. It is best to set it on the mailbox store.

This one right will give the user full access to everybodies mailbox...

Another thing you can do with WebDAV is to use the administrative root. Is
is primarily used by the System Manager. You must change your urls to
http://server/exadmin/admin/<dns-name>/mbx/<mailboxname>. And the user must
have be a full Exchange administrator. This will circumvent all permission
set on the mailbox.

Greetings,
Henning Krause
MVP - Exchange
http://www.infinitec.de


"Joey" <joey@newsgroup.nospam> wrote in message
news:4150887D-18A6-44F5-9B5B-82221B8AA89F@microsoft.com...
Quote:
Thanks for the reply Michael. I have been through most of the examples
and
it seemed that using webdav you still had to do that delegate thing in
outlook to let a user have permissions. I guess then my problem is I
don't
understand how to set the correct permissions in exchange. I used the
adminstration delegation wizard in exchange and gave a user full
administration permissions but they still can't seem to access all the
folders of a user. Do you have to add them to a certain security group in
active directory?

Thanks again!

"Michael" wrote:

Because I am familiar with WebDAV then I will recommend you WebDAV as
programming technology for your application.
Possible you can use some other technology for your application.

With WebDAV you can use one account with permission (full mailbox
permission) to access to all (or specified) users mailboxes.
You will be able to read mails from inbox, outbox or any other folder and
store them in a database.

Exchange SDK contains many samples how to use WebDAV and this will be
good start point.

Michael
-------------------------------
If you need WebDAV API for Exchange server,
use our component WebDAV .NET for Exchange.
Check out http://www.independentsoft.com


"Joey" <joey@newsgroup.nospam> wrote in message
news:6116815A-1A5F-493C-B44F-EE502FD311BB@microsoft.com...
I am hopeing someone can help cause I can't find a solution. I am
trying to
create an application that will read all the emails in a specified
accounts
in my exchange server. I need to be able to specify several mailboxes
and
then have it read the emails in both thier inbox and outbox and tag the
email
and put the contents into a database if the email address matches a
clients
email. I want to do it at the exchange server level and not the
outlook
client level.

I downloaded the Exchange SDK and they only have examples of letting
you log
into a single mailbox and performing what I need. Is there not a way
to look
at the entire store with one acocunt that has admin right across all
mailboxes and access the emails?

Some examples let one user access all boxes but only the inbox and only
after I delegated that user with permissions to access the inbox
through
outlook. That would work but I don't see a way to delegate a users
permissions to read the sent items, only the inbox.

I hope that all made sense and any example would be a huge help!

Thanks!


Back to top
Joey
Guest





Posted: Mon Aug 08, 2005 4:20 pm    Post subject: Re: Exchange 2003 Custom Application, read emails from serev Reply with quote

Kewl,

Thanks guys and thanks for the reply Henning, that did the trick and I got
my code working great. I can access any account using one administartor.
The webdav example has a dumbed down XML schema for the XML that webdav
punches out. Does anyone have a scheme already mapped out for all the fields
returned in the webdav XML?

Thanks again!

"Henning Krause [MVP - Exchange]" wrote:

Quote:
Hello,

the permission that Michael mentioned is a special one in Exchange. It is
the "Sent As" and "Receive As" permission. You can grant this to the user
which will access the maiboxes. It is best to set it on the mailbox store.

This one right will give the user full access to everybodies mailbox...

Another thing you can do with WebDAV is to use the administrative root. Is
is primarily used by the System Manager. You must change your urls to
http://server/exadmin/admin/<dns-name>/mbx/<mailboxname>. And the user must
have be a full Exchange administrator. This will circumvent all permission
set on the mailbox.

Greetings,
Henning Krause
MVP - Exchange
http://www.infinitec.de


"Joey" <joey@newsgroup.nospam> wrote in message
news:4150887D-18A6-44F5-9B5B-82221B8AA89F@microsoft.com...
Thanks for the reply Michael. I have been through most of the examples
and
it seemed that using webdav you still had to do that delegate thing in
outlook to let a user have permissions. I guess then my problem is I
don't
understand how to set the correct permissions in exchange. I used the
adminstration delegation wizard in exchange and gave a user full
administration permissions but they still can't seem to access all the
folders of a user. Do you have to add them to a certain security group in
active directory?

Thanks again!

"Michael" wrote:

Because I am familiar with WebDAV then I will recommend you WebDAV as
programming technology for your application.
Possible you can use some other technology for your application.

With WebDAV you can use one account with permission (full mailbox
permission) to access to all (or specified) users mailboxes.
You will be able to read mails from inbox, outbox or any other folder and
store them in a database.

Exchange SDK contains many samples how to use WebDAV and this will be
good start point.

Michael
-------------------------------
If you need WebDAV API for Exchange server,
use our component WebDAV .NET for Exchange.
Check out http://www.independentsoft.com


"Joey" <joey@newsgroup.nospam> wrote in message
news:6116815A-1A5F-493C-B44F-EE502FD311BB@microsoft.com...
I am hopeing someone can help cause I can't find a solution. I am
trying to
create an application that will read all the emails in a specified
accounts
in my exchange server. I need to be able to specify several mailboxes
and
then have it read the emails in both thier inbox and outbox and tag the
email
and put the contents into a database if the email address matches a
clients
email. I want to do it at the exchange server level and not the
outlook
client level.

I downloaded the Exchange SDK and they only have examples of letting
you log
into a single mailbox and performing what I need. Is there not a way
to look
at the entire store with one acocunt that has admin right across all
mailboxes and access the emails?

Some examples let one user access all boxes but only the inbox and only
after I delegated that user with permissions to access the inbox
through
outlook. That would work but I don't see a way to delegate a users
permissions to read the sent items, only the inbox.

I hope that all made sense and any example would be a huge help!

Thanks!


Back to top
Henning Krause [MVP - Exc
Guest





Posted: Tue Aug 09, 2005 8:58 am    Post subject: Re: Exchange 2003 Custom Application, read emails from serev Reply with quote

Hello,

by schema, you mean a description of each property? Or do you mean a
full-blown XML-schema?

To some extent, the first one exist on the MSDN website, but the latter one
does not exist...

Greetings,
Henning Krause
MVP - Exchange
http://www.infinitec.de


"Joey" <joey@newsgroup.nospam> wrote in message
news:2584FD3C-25B3-45C0-9F93-3ECC20341B3C@microsoft.com...
Quote:
Kewl,

Thanks guys and thanks for the reply Henning, that did the trick and I got
my code working great. I can access any account using one administartor.
The webdav example has a dumbed down XML schema for the XML that webdav
punches out. Does anyone have a scheme already mapped out for all the
fields
returned in the webdav XML?

Thanks again!

"Henning Krause [MVP - Exchange]" wrote:

Hello,

the permission that Michael mentioned is a special one in Exchange. It is
the "Sent As" and "Receive As" permission. You can grant this to the user
which will access the maiboxes. It is best to set it on the mailbox
store.

This one right will give the user full access to everybodies mailbox...

Another thing you can do with WebDAV is to use the administrative root.
Is
is primarily used by the System Manager. You must change your urls to
http://server/exadmin/admin/<dns-name>/mbx/<mailboxname>. And the user
must
have be a full Exchange administrator. This will circumvent all
permission
set on the mailbox.

Greetings,
Henning Krause
MVP - Exchange
http://www.infinitec.de


"Joey" <joey@newsgroup.nospam> wrote in message
news:4150887D-18A6-44F5-9B5B-82221B8AA89F@microsoft.com...
Thanks for the reply Michael. I have been through most of the examples
and
it seemed that using webdav you still had to do that delegate thing in
outlook to let a user have permissions. I guess then my problem is I
don't
understand how to set the correct permissions in exchange. I used the
adminstration delegation wizard in exchange and gave a user full
administration permissions but they still can't seem to access all the
folders of a user. Do you have to add them to a certain security group
in
active directory?

Thanks again!

"Michael" wrote:

Because I am familiar with WebDAV then I will recommend you WebDAV as
programming technology for your application.
Possible you can use some other technology for your application.

With WebDAV you can use one account with permission (full mailbox
permission) to access to all (or specified) users mailboxes.
You will be able to read mails from inbox, outbox or any other folder
and
store them in a database.

Exchange SDK contains many samples how to use WebDAV and this will be
good start point.

Michael
-------------------------------
If you need WebDAV API for Exchange server,
use our component WebDAV .NET for Exchange.
Check out http://www.independentsoft.com


"Joey" <joey@newsgroup.nospam> wrote in message
news:6116815A-1A5F-493C-B44F-EE502FD311BB@microsoft.com...
I am hopeing someone can help cause I can't find a solution. I am
trying to
create an application that will read all the emails in a specified
accounts
in my exchange server. I need to be able to specify several
mailboxes
and
then have it read the emails in both thier inbox and outbox and tag
the
email
and put the contents into a database if the email address matches a
clients
email. I want to do it at the exchange server level and not the
outlook
client level.

I downloaded the Exchange SDK and they only have examples of letting
you log
into a single mailbox and performing what I need. Is there not a
way
to look
at the entire store with one acocunt that has admin right across all
mailboxes and access the emails?

Some examples let one user access all boxes but only the inbox and
only
after I delegated that user with permissions to access the inbox
through
outlook. That would work but I don't see a way to delegate a users
permissions to read the sent items, only the inbox.

I hope that all made sense and any example would be a huge help!

Thanks!


Back to top
Joey
Guest





Posted: Tue Aug 09, 2005 4:59 pm    Post subject: Re: Exchange 2003 Custom Application, read emails from serev Reply with quote

Thanks Henning,

I made my own schema and it seems to work well. I can now call a url and
get all items and props for each folder and fill a dataset in .net.

Let me ask you this. When I query the inbox using webdav I get a list of
all the folders and all the emails under and in the inbox. I also get a
description field that has the body of the email in clear text for each
email. When I query the sent items folder I get a list of all the emails but
the description field is null. The only way I can get the description field
for items in the sent items is by querying the email it self. So for example:

http://server/exadmin/admin/server.com/mbx/username/inbox/ <-- gets all
emails and descriptions

http://server/exadmin/admin/server.com/mbx/username/sent items/ <-- gets
only emails but no descripition

http://server/exadmin/admin/server.com/mbx/username/sent items/message1.eml
<-- gets single email and description which should of showed up in the last
step like it does on the inbox.

Any idea?

"Henning Krause [MVP - Exchange]" wrote:

Quote:
Hello,

by schema, you mean a description of each property? Or do you mean a
full-blown XML-schema?

To some extent, the first one exist on the MSDN website, but the latter one
does not exist...

Greetings,
Henning Krause
MVP - Exchange
http://www.infinitec.de


"Joey" <joey@newsgroup.nospam> wrote in message
news:2584FD3C-25B3-45C0-9F93-3ECC20341B3C@microsoft.com...
Kewl,

Thanks guys and thanks for the reply Henning, that did the trick and I got
my code working great. I can access any account using one administartor.
The webdav example has a dumbed down XML schema for the XML that webdav
punches out. Does anyone have a scheme already mapped out for all the
fields
returned in the webdav XML?

Thanks again!

"Henning Krause [MVP - Exchange]" wrote:

Hello,

the permission that Michael mentioned is a special one in Exchange. It is
the "Sent As" and "Receive As" permission. You can grant this to the user
which will access the maiboxes. It is best to set it on the mailbox
store.

This one right will give the user full access to everybodies mailbox...

Another thing you can do with WebDAV is to use the administrative root.
Is
is primarily used by the System Manager. You must change your urls to
http://server/exadmin/admin/<dns-name>/mbx/<mailboxname>. And the user
must
have be a full Exchange administrator. This will circumvent all
permission
set on the mailbox.

Greetings,
Henning Krause
MVP - Exchange
http://www.infinitec.de


"Joey" <joey@newsgroup.nospam> wrote in message
news:4150887D-18A6-44F5-9B5B-82221B8AA89F@microsoft.com...
Thanks for the reply Michael. I have been through most of the examples
and
it seemed that using webdav you still had to do that delegate thing in
outlook to let a user have permissions. I guess then my problem is I
don't
understand how to set the correct permissions in exchange. I used the
adminstration delegation wizard in exchange and gave a user full
administration permissions but they still can't seem to access all the
folders of a user. Do you have to add them to a certain security group
in
active directory?

Thanks again!

"Michael" wrote:

Because I am familiar with WebDAV then I will recommend you WebDAV as
programming technology for your application.
Possible you can use some other technology for your application.

With WebDAV you can use one account with permission (full mailbox
permission) to access to all (or specified) users mailboxes.
You will be able to read mails from inbox, outbox or any other folder
and
store them in a database.

Exchange SDK contains many samples how to use WebDAV and this will be
good start point.

Michael
-------------------------------
If you need WebDAV API for Exchange server,
use our component WebDAV .NET for Exchange.
Check out http://www.independentsoft.com


"Joey" <joey@newsgroup.nospam> wrote in message
news:6116815A-1A5F-493C-B44F-EE502FD311BB@microsoft.com...
I am hopeing someone can help cause I can't find a solution. I am
trying to
create an application that will read all the emails in a specified
accounts
in my exchange server. I need to be able to specify several
mailboxes
and
then have it read the emails in both thier inbox and outbox and tag
the
email
and put the contents into a database if the email address matches a
clients
email. I want to do it at the exchange server level and not the
outlook
client level.

I downloaded the Exchange SDK and they only have examples of letting
you log
into a single mailbox and performing what I need. Is there not a
way
to look
at the entire store with one acocunt that has admin right across all
mailboxes and access the emails?

Some examples let one user access all boxes but only the inbox and
only
after I delegated that user with permissions to access the inbox
through
outlook. That would work but I don't see a way to delegate a users
permissions to read the sent items, only the inbox.

I hope that all made sense and any example would be a huge help!

Thanks!





Back to top
 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server Dedicated Servers
Contact Us
New Topics Powered by phpBB