Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: 9 Jan 2006 05:32:57 -0800,    group: microsoft.public.exchange2000.development        back       


How to reference mails routed to other mailbox ?   
Hi everybody,

we are monitoring some mail accounts say A, B C. Any new mail arriving
in these mailboxes is also routed to a particular MailBox say X for
monitoring.

Now X is getting a copy of what ever A (also B C .. etc) is receiving.
If we want to (say) delete a particular mail from A's mailbox after
examining it from X, How can we cross-reference (map) that particular
mail in the A's mailbox. Is there any property / tag that is unique for
a particular mail in both the mail boxes ?

Currently we are trying to workout the solution in WebDav, but can also
switch to MAPI or any other tech. through which solution is feasible.

Looking for the valuable suggestions.

Thanks n Regards
Sarabjit S. Rupaal
date: 9 Jan 2006 05:32:57 -0800   author:   unknown

Re: How to reference mails routed to other mailbox ?   
Probably urn:schemas:mailheader:message-id 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdosys/html/3f0e28c9-4dc6-4c15-98b6-2f9cc326a343.asp 
would be the best thing to use you should be able query this on the other 
mailboxes. It might however depend on how you are producing the copy that X 
is receiving.

Cheers
Glen


 wrote in message 
news:1136813577.611109.191280@g43g2000cwa.googlegroups.com...
> Hi everybody,
>
> we are monitoring some mail accounts say A, B C. Any new mail arriving
> in these mailboxes is also routed to a particular MailBox say X for
> monitoring.
>
> Now X is getting a copy of what ever A (also B C .. etc) is receiving.
> If we want to (say) delete a particular mail from A's mailbox after
> examining it from X, How can we cross-reference (map) that particular
> mail in the A's mailbox. Is there any property / tag that is unique for
> a particular mail in both the mail boxes ?
>
> Currently we are trying to workout the solution in WebDav, but can also
> switch to MAPI or any other tech. through which solution is feasible.
>
> Looking for the valuable suggestions.
>
> Thanks n Regards
> Sarabjit S. Rupaal
>
date: Tue, 10 Jan 2006 10:32:57 +1100   author:   Glen Scales [MVP]

Re: How to reference mails routed to other mailbox ?   
Thanks Glen
We are successfully getting a unique message-id for a pair using
WebDav.
Any idea on how can we extract / refer the same
(urn:schemas:mailheader:message-id) using Outlook MAPIs ?
Will feel obliged to get a Code sample (or a link to it).

Regards
Sarabjit S. Rupaal

Glen Scales [MVP] wrote:
> Probably urn:schemas:mailheader:message-id
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdosys/html/3f0e28c9-4dc6-4c15-98b6-2f9cc326a343.asp
> would be the best thing to use you should be able query this on the other
> mailboxes. It might however depend on how you are producing the copy that X
> is receiving.
> 
> Cheers
> Glen
date: 10 Jan 2006 00:42:01 -0800   author:   unknown

Re: How to reference mails routed to other mailbox ?   
You should be able to use the PR_INTERNET_MESSAGE_ID mapi property you need 
to use CDO 1.2 or Extended Mapi I don't think this is available though the 
Outlook Object Model. In CDO 1.2 something like this should work.

set objSession = CreateObject("MAPI.Session")
strProfile = "servername" & vbLf & "mailbox"
objSession.Logon "",,, False,, True, strProfile
Set objInbox = objSession.Inbox
Set objMsgColl = objInbox.Messages
Set objMsgFilter = objMsgColl.Filter
objMsgFilter.Fields(&H1035001E) = 
""
For Each objMess in objMsgColl
   Wscript.echo objmess.subject
Next

Cheers
Glen

 wrote in message 
news:1136882521.433127.9820@g14g2000cwa.googlegroups.com...
> Thanks Glen
> We are successfully getting a unique message-id for a pair using
> WebDav.
> Any idea on how can we extract / refer the same
> (urn:schemas:mailheader:message-id) using Outlook MAPIs ?
> Will feel obliged to get a Code sample (or a link to it).
>
> Regards
> Sarabjit S. Rupaal
>
> Glen Scales [MVP] wrote:
>> Probably urn:schemas:mailheader:message-id
>> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdosys/html/3f0e28c9-4dc6-4c15-98b6-2f9cc326a343.asp
>> would be the best thing to use you should be able query this on the other
>> mailboxes. It might however depend on how you are producing the copy that 
>> X
>> is receiving.
>>
>> Cheers
>> Glen
>
date: Wed, 11 Jan 2006 10:27:23 +1100   author:   Glen Scales [MVP]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us