exchangefreaks.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Web services Question about a service

 
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange Development
Author Message
EverlastX1



Joined: 31 Jan 2008
Posts: 3

PostPosted: Wed Jan 30, 2008 8:59 pm    Post subject: Web services Question about a service Reply with quote

Hello,

I have some questions regarding the use of web services in Exchange
2007.

Is it possible to subscribe to an Exchange 2007 server an receive all
messages for all(certain) users.
I found articles that a client can access a his mails by posting his
credentials and also articles that describe how to make operation on
behalf on somebody. But my question is.: can a user (he can have all
rights needed from AD) subscribe and receive all mails from all users?
Or should I use some lover level api like event sink and so on?

The client software I would like to develop should receive a copy of
all messages that come and go to/from the company to inspect them and
then make depending on the content further operations.

Archived from group: microsoft>public>exchange>development
Back to top
View user's profile Send private message
Glen Scales [MVP]



Joined: 05 Aug 2007
Posts: 92

PostPosted: Thu Jan 31, 2008 5:13 pm    Post subject: Re: Web services Question about a service Reply with quote

What you want to do is covered by Exchange Transport Agents see
http://msdn2.microsoft.com/en-us/library/aa579185.aspx . Transport Agents
allow you to process messages while they are in the Transport Pipeline which
with Exchange 2007 covers everything eg even messages sent locally on a
server to another user on the same server (or even the same user) will
traverse at least one Hub server.

Cheers
Glen

wrote in message @e6g2000prf.googlegroups.com...
> Hello,
>
> I have some questions regarding the use of web services in Exchange
> 2007.
>
> Is it possible to subscribe to an Exchange 2007 server an receive all
> messages for all(certain) users.
> I found articles that a client can access a his mails by posting his
> credentials and also articles that describe how to make operation on
> behalf on somebody. But my question is.: can a user (he can have all
> rights needed from AD) subscribe and receive all mails from all users?
> Or should I use some lover level api like event sink and so on?
>
> The client software I would like to develop should receive a copy of
> all messages that come and go to/from the company to inspect them and
> then make depending on the content further operations.
>
>
>
>
>
Back to top
View user's profile Send private message
EverlastX1



Joined: 31 Jan 2008
Posts: 3

PostPosted: Thu Jan 31, 2008 6:46 am    Post subject: Re: Web services Question about a service Reply with quote

Ok Transport Agents looks very nice, strange that i oversaw them
http://www.msxfaq.de/code/wege.htm

based on the Transport Agents I can create my own web service


thany you and best regards !
Back to top
View user's profile Send private message
EverlastX1



Joined: 31 Jan 2008
Posts: 3

PostPosted: Thu Jan 31, 2008 7:13 am    Post subject: Re: Web services Question about a service Reply with quote

hmm...

If i think about it more closely then what can I do with
(Subscription for PUSH/PULL) ? http://msdn2.microsoft.com/en-us/library/aa566188(EXCHG.80).aspx
Is it intended just for a single user application? what is if I log in
as admin and subscribe to all mailboxes to push me on new emails?

Transport Agents are beguiling for building on top of them own Web
Services but can't it be done with already available Web Services?
Back to top
View user's profile Send private message
Glen Scales [MVP]



Joined: 05 Aug 2007
Posts: 92

PostPosted: Fri Feb 01, 2008 1:39 pm    Post subject: Re: Web services Question about a service Reply with quote

I would forget about webservices these are more if you want to look,create
and manage mailbox content it sounds like what you want to do is process
Email as it comes in and goes out for this you should look at using a
Transport Agents these are quite simple to write and are designed to be a
scaleable way to doing something like this. Transport Agents are custom
written class libraries that hook into Transport events on a Hub or Edge
Server they have no relation to Exchange Web Services which is use to
provide access to Mailbox Content via a CAS Server. I would recommend having
a read of http://technet.microsoft.com/en-us/library/bb125012(EXCHG.80).aspx
..

Doing something simular with a EWS push or pull notifications would be a
lot more complex and you may find that in some situations wont work eg all
notifications are asynchronous meaning that you only get notified about an
item after it has arrived in a Mailbox.

Cheers
Glen

wrote in message @q21g2000hsa.googlegroups.com...
> hmm...
>
> If i think about it more closely then what can I do with
> (Subscription for PUSH/PULL) ?
> http://msdn2.microsoft.com/en-us/library/aa566188(EXCHG.80).aspx
> Is it intended just for a single user application? what is if I log in
> as admin and subscribe to all mailboxes to push me on new emails?
>
> Transport Agents are beguiling for building on top of them own Web
> Services but can't it be done with already available Web Services?
>
>

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Exchange Web Services x-header I'm trying to send an e-mail using Exchange Web Services that has an extra x-header set. I have a working sample that can send the e-mail, but I can't figure out how to add an x-header. How do I do this?

Set Appointment Label using Exchange 2007 Web Services? Does anyone know how to set an Appointment Label using Exchange 2007 Web Services? I want to set a color on the item on the calendar. I know its some type of mapi property but I have no idea how to access it or set it. Any ideas? Thanks In Advance, ~ck

Use Mapi in web service Hi. I develop an ASP.NET web service that calls COM Interop function which do some work by MAPI (change properties of some mails in a given users mailbox) .. The problem is when I put my web service under IIS the exception is thrown from Mapi it can't cr

Exchange 2007 Web Service, get new emails I started with the Exchange 2007 code samples from MSDN, for retrieving messages from Exchange via web services. Even though I specify = many of the fields in each message (email addresses, b

Exchange 2007 Web Service + Event Sink Integration I have a requirement to synchronise our contact data between an Exchange Public Contacts Folder and our application's database. We are using Exchange 2007 SP1 connecting to Outlook 2007 clients. Creating contacts in the Exchange Public Folder works great
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange Development All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group