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: Fri, 27 Jan 2006 13:06:28 -0800,    group: microsoft.public.exchange2000.development        back       


SCL Value in Event Sink   
Hi,
Does anyone know how to retrieve the SCL value in an event sink
running on a mailbox using the ADO RecItem.Fields property ?
Using this method:
recItem.Fields("urn:schemas:mailheader:to").Value

As I have learned it is an Extended MAPI property.And may not
be available with the ADO object

Roy K
date: Fri, 27 Jan 2006 13:06:28 -0800   author:   RoyK

Re: SCL Value in Event Sink   
You can get this property via ADO in a store event sink just use 
http://schemas.microsoft.com/mapi/proptag/x40760003 (PR_CONTENT_FILTER_SCL).

Cheers
Glen

"RoyK"  wrote in message 
news:3FA2F08C-F98C-4C34-A9C4-8DF8B3063D04@microsoft.com...
> Hi,
> Does anyone know how to retrieve the SCL value in an event sink
> running on a mailbox using the ADO RecItem.Fields property ?
> Using this method:
> recItem.Fields("urn:schemas:mailheader:to").Value
>
> As I have learned it is an Extended MAPI property.And may not
> be available with the ADO object
>
> Roy K
date: Mon, 30 Jan 2006 08:39:28 +1100   author:   Glen Scales [MVP]

Re: SCL Value in Event Sink   
Hi,
When I try:
strMsgXSCL = 
recItem.Fields("http://schemas.microsoft.com/mapi/proptag/x40760003")
or
strMsgXSCL = 
recItem.Fields("http://schemas.microsoft.com/mapi/proptag/x40760003").Value

I receive this in log:
Object doesn 't support this property or method

Roy

"Glen Scales [MVP]" wrote:

> You can get this property via ADO in a store event sink just use 
> http://schemas.microsoft.com/mapi/proptag/x40760003 (PR_CONTENT_FILTER_SCL).
> 
> Cheers
> Glen
> 
> "RoyK"  wrote in message 
> news:3FA2F08C-F98C-4C34-A9C4-8DF8B3063D04@microsoft.com...
> > Hi,
> > Does anyone know how to retrieve the SCL value in an event sink
> > running on a mailbox using the ADO RecItem.Fields property ?
> > Using this method:
> > recItem.Fields("urn:schemas:mailheader:to").Value
> >
> > As I have learned it is an Extended MAPI property.And may not
> > be available with the ADO object
> >
> > Roy K 
> 
> 
>
date: Mon, 30 Jan 2006 00:31:27 -0800   author:   RoyK

Re: SCL Value in Event Sink   
Try to use this syntax:

recItem.Fields("http://schemas.microsoft.com/mapi/proptag/0x40760003")

Regards,

Victor Ivanidze
software developer


"RoyK"  wrote in message 
news:3F915E6D-360F-43C5-9C98-58CCEF856E39@microsoft.com...
> Hi,
> When I try:
> strMsgXSCL =
> recItem.Fields("http://schemas.microsoft.com/mapi/proptag/x40760003")
> or
> strMsgXSCL =
> recItem.Fields("http://schemas.microsoft.com/mapi/proptag/x40760003").Value
>
> I receive this in log:
> Object doesn 't support this property or method
>
> Roy
>
> "Glen Scales [MVP]" wrote:
>
>> You can get this property via ADO in a store event sink just use
>> http://schemas.microsoft.com/mapi/proptag/x40760003 
>> (PR_CONTENT_FILTER_SCL).
>>
>> Cheers
>> Glen
>>
>> "RoyK"  wrote in message
>> news:3FA2F08C-F98C-4C34-A9C4-8DF8B3063D04@microsoft.com...
>> > Hi,
>> > Does anyone know how to retrieve the SCL value in an event sink
>> > running on a mailbox using the ADO RecItem.Fields property ?
>> > Using this method:
>> > recItem.Fields("urn:schemas:mailheader:to").Value
>> >
>> > As I have learned it is an Extended MAPI property.And may not
>> > be available with the ADO object
>> >
>> > Roy K
>>
>>
>>
date: Mon, 30 Jan 2006 15:23:25 +0300   author:   Victor Ivanidze se

Re: SCL Value in Event Sink   
Hi,
Tried with your suggestion:
strMsgXSCL = 
recItem.Fields("http://schemas.microsoft.com/mapi/proptag/0x40760003")

same error message in log:
(Object doesn 't support this property or method)

another property works fine:
strMsgSubject = recItem.Fields("urn:schemas:httpmail:subject").Value

Roy


"Victor Ivanidze" wrote:

> Try to use this syntax:
> 
> recItem.Fields("http://schemas.microsoft.com/mapi/proptag/0x40760003")
> 
> Regards,
> 
> Victor Ivanidze
> software developer
> 
> 
> "RoyK"  wrote in message 
> news:3F915E6D-360F-43C5-9C98-58CCEF856E39@microsoft.com...
> > Hi,
> > When I try:
> > strMsgXSCL =
> > recItem.Fields("http://schemas.microsoft.com/mapi/proptag/x40760003")
> > or
> > strMsgXSCL =
> > recItem.Fields("http://schemas.microsoft.com/mapi/proptag/x40760003").Value
> >
> > I receive this in log:
> > Object doesn 't support this property or method
> >
> > Roy
> >
> > "Glen Scales [MVP]" wrote:
> >
> >> You can get this property via ADO in a store event sink just use
> >> http://schemas.microsoft.com/mapi/proptag/x40760003 
> >> (PR_CONTENT_FILTER_SCL).
> >>
> >> Cheers
> >> Glen
> >>
> >> "RoyK"  wrote in message
> >> news:3FA2F08C-F98C-4C34-A9C4-8DF8B3063D04@microsoft.com...
> >> > Hi,
> >> > Does anyone know how to retrieve the SCL value in an event sink
> >> > running on a mailbox using the ADO RecItem.Fields property ?
> >> > Using this method:
> >> > recItem.Fields("urn:schemas:mailheader:to").Value
> >> >
> >> > As I have learned it is an Extended MAPI property.And may not
> >> > be available with the ADO object
> >> >
> >> > Roy K
> >>
> >>
> >> 
> 
> 
>
date: Mon, 30 Jan 2006 05:20:27 -0800   author:   RoyK

Re: SCL Value in Event Sink   
Following piece of code works fine for me in a OnSyncSave Event sink

  Set DispEvtInfo = pEventInfo
 Set ADODBRec = DispEvtInfo.EventRecord
 wfile.writeline 
ADODBRec.fields("http://schemas.microsoft.com/mapi/proptag/0x40760003").value

I would say your getting this error because recItem.Fields is returning null 
which usually mean the property isn't set. Are you using this in a Store 
Event sink and not a SMTP event sink. The SCL value itself is passed though 
on the X-Exch500 Blob so its not available in something like a onarrival 
sink You might want to look at using something like Outlook spy or Mdbvu32 
to look at the messages in the inbox yourself to see if the property is 
actually getting set.

Cheers
Glen


"RoyK"  wrote in message 
news:F0CD9119-F7EF-4325-ACC7-98C6D6344C53@microsoft.com...
> Hi,
> Tried with your suggestion:
> strMsgXSCL =
> recItem.Fields("http://schemas.microsoft.com/mapi/proptag/0x40760003")
>
> same error message in log:
> (Object doesn 't support this property or method)
>
> another property works fine:
> strMsgSubject = recItem.Fields("urn:schemas:httpmail:subject").Value
>
> Roy
>
>
> "Victor Ivanidze" wrote:
>
>> Try to use this syntax:
>>
>> recItem.Fields("http://schemas.microsoft.com/mapi/proptag/0x40760003")
>>
>> Regards,
>>
>> Victor Ivanidze
>> software developer
>>
>>
>> "RoyK"  wrote in message
>> news:3F915E6D-360F-43C5-9C98-58CCEF856E39@microsoft.com...
>> > Hi,
>> > When I try:
>> > strMsgXSCL =
>> > recItem.Fields("http://schemas.microsoft.com/mapi/proptag/x40760003")
>> > or
>> > strMsgXSCL =
>> > recItem.Fields("http://schemas.microsoft.com/mapi/proptag/x40760003").Value
>> >
>> > I receive this in log:
>> > Object doesn 't support this property or method
>> >
>> > Roy
>> >
>> > "Glen Scales [MVP]" wrote:
>> >
>> >> You can get this property via ADO in a store event sink just use
>> >> http://schemas.microsoft.com/mapi/proptag/x40760003
>> >> (PR_CONTENT_FILTER_SCL).
>> >>
>> >> Cheers
>> >> Glen
>> >>
>> >> "RoyK"  wrote in message
>> >> news:3FA2F08C-F98C-4C34-A9C4-8DF8B3063D04@microsoft.com...
>> >> > Hi,
>> >> > Does anyone know how to retrieve the SCL value in an event sink
>> >> > running on a mailbox using the ADO RecItem.Fields property ?
>> >> > Using this method:
>> >> > recItem.Fields("urn:schemas:mailheader:to").Value
>> >> >
>> >> > As I have learned it is an Extended MAPI property.And may not
>> >> > be available with the ADO object
>> >> >
>> >> > Roy K
>> >>
>> >>
>> >>
>>
>>
>>
date: Tue, 31 Jan 2006 09:13:05 +1100   author:   Glen Scales [MVP]

Google
 
Web ureader.com


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