|
|
|
date: Tue, 29 Apr 2008 12:19:31 -0700,
group: microsoft.public.exchange.development
back
Re: Move Item from Inbox to Draft or some temp folder, Change Status
Glen,
already figured out moving emails from inbox to deletedItems folder after
few ours of googleing.
Your link and code was helpful in finding a user defined folder and not
only distinguished folders, did not test yet to see how it works and if so.
Updating the contact link helps but sill I have many things to figure out on
how to update the status of an item ( email item ).
Not sure if the status of any item is stored on the server or just the
client.
Like Mark email as "Read", "Completed" etc..
The following link does not work at all
http://schemas.microsoft.com/mapi/id/{00062008-0000-0000-C000-000000000046}/8530001ERest of links lead to sea of info, I am lost.over all, Thank you very much for taking the time to help me out.Thanks again, I learned from you,LVP"Glen Scales [MVP]" wrote in messagenews:Of0Bf$mqIHA.672@TK2MSFTNGP02.phx.gbl...> You might want to have a look athttp://groups.google.com.au/group/microsoft.public.exchange.development/browse_thread/thread/b31bda50451a770c/df5a3c2d6fb5313a this moves mail from theinbox to a spam folder is the subject is prefix with SPAM:>> To change the status of an item you need to use an updateitem requestsomething simular tohttp://msdn.microsoft.com/en-us/library/aa493909(EXCHG.80).aspx but you willneed to modify the PR_FLAG_STATUS 0x10900003 mapi property which controlsthe Flags. You may also need to set the text that's associated with the flagusing thehttp://schemas.microsoft.com/mapi/id/{00062008-0000-0000-C000-000000000046}/8530001E named property.>> There is a lot more information in the Exchange SDK on EWS which you candownload from https://msdn.microsoft.com/exchange you may also want toconsider buy a book such ashttp://www.microsoft.com/MSPress/books/10724.aspx which goes into a lot moredetail.>> Rgds> Glen>> "LVP" wrote in messagenews:uNBP03iqIHA.4476@TK2MSFTNGP04.phx.gbl...>> Hello,>>>> Using Exchange 2007, WebServices>>>> I would like to move an email item from the inbox to the draft folder orsome tempItem>>>> I would like to change the status of an email item in the Inbox to like"Flag Completed">>>> I just can not find sample code. The Programming Model is confusing...>>>> any links or specific code to what I need is greatly appreciated.>>>> Thank You,>>>> LVP>>>>>>>>
date: Wed, 30 Apr 2008 08:29:19 -0700
author: LVP
Re: Move Item from Inbox to Draft or some temp folder, Change Status
That was a named property not a URL (they kind of look the same)
FollowupFlags and MessageFlags (Read Status ect) are two different
properties i suggest getting hold of a Mapi editor like Outlookspy or
MFCmapi and you can view all the Mapi properties yourself this is great tool
for doing development.
To mark a message Read you need to use something like
ExtendedPropertyType sfSentFlag = new ExtendedPropertyType();
PathToExtendedFieldType epExPath = new
PathToExtendedFieldType();
epExPath.PropertyTag = "0x0E07";
epExPath.PropertyType = MapiPropertyTypeType.Integer;
sfSentFlag.ExtendedFieldURI = epExPath;
sfSentFlag.Item = "1";
cheers
Glen
"LVP" wrote in message
news:e%23552btqIHA.4884@TK2MSFTNGP06.phx.gbl...
> Glen,
>
> already figured out moving emails from inbox to deletedItems folder after
> few ours of googleing.
>
> Your link and code was helpful in finding a user defined folder and not
> only distinguished folders, did not test yet to see how it works and if
> so.
>
> Updating the contact link helps but sill I have many things to figure out
> on how to update the status of an item ( email item ).
> Not sure if the status of any item is stored on the server or just the
> client.
> Like Mark email as "Read", "Completed" etc..
>
> The following link does not work at all
> http://schemas.microsoft.com/mapi/id/{00062008-0000-0000-C000-000000000046}/8530001ERest
> of links lead to sea of info, I am lost.over all, Thank you very much for
> taking the time to help me out.Thanks again, I learned from you,LVP"Glen
> Scales [MVP]" wrote in
> messagenews:Of0Bf$mqIHA.672@TK2MSFTNGP02.phx.gbl...> You might want to
> have a look
> athttp://groups.google.com.au/group/microsoft.public.exchange.development/browse_thread/thread/b31bda50451a770c/df5a3c2d6fb5313a
> this moves mail from theinbox to a spam folder is the subject is prefix
> with SPAM:>> To change the status of an item you need to use an updateitem
> requestsomething simular
> tohttp://msdn.microsoft.com/en-us/library/aa493909(EXCHG.80).aspx but you
> willneed to modify the PR_FLAG_STATUS 0x10900003 mapi property which
> controlsthe Flags. You may also need to set the text that's associated
> with the flagusing
> thehttp://schemas.microsoft.com/mapi/id/{00062008-0000-0000-C000-000000000046}/8530001E
> named property.>> There is a lot more information in the Exchange SDK on
> EWS which you candownload from https://msdn.microsoft.com/exchange you may
> also want toconsider buy a book such
> ashttp://www.microsoft.com/MSPress/books/10724.aspx which goes into a lot
> moredetail.>> Rgds> Glen>> "LVP" wrote in
> messagenews:uNBP03iqIHA.4476@TK2MSFTNGP04.phx.gbl...>> Hello,>>>> Using
> Exchange 2007, WebServices>>>> I would like to move an email item from the
> inbox to the draft folder orsome tempItem>>>> I would like to change the
> status of an email item in the Inbox to like"Flag Completed">>>> I just
> can not find sample code. The Programming Model is confusing...>>>> any
> links or specific code to what I need is greatly appreciated.>>>> Thank
> You,>>>> LVP>>>>>>>>
>
date: Thu, 1 May 2008 15:15:50 +1000
author: Glen Scales [MVP]
Re: Move Item from Inbox to Draft or some temp folder, Change Status
Thank you Glen you been great help.
LVP
"Glen Scales [MVP]" wrote in message
news:uV2Bup0qIHA.1736@TK2MSFTNGP04.phx.gbl...
> That was a named property not a URL (they kind of look the same)
> FollowupFlags and MessageFlags (Read Status ect) are two different
> properties i suggest getting hold of a Mapi editor like Outlookspy or
> MFCmapi and you can view all the Mapi properties yourself this is great
> tool for doing development.
>
> To mark a message Read you need to use something like
>
> ExtendedPropertyType sfSentFlag = new ExtendedPropertyType();
> PathToExtendedFieldType epExPath = new
> PathToExtendedFieldType();
> epExPath.PropertyTag = "0x0E07";
> epExPath.PropertyType = MapiPropertyTypeType.Integer;
> sfSentFlag.ExtendedFieldURI = epExPath;
> sfSentFlag.Item = "1";
>
> cheers
> Glen
>
>
>
>
> "LVP" wrote in message
> news:e%23552btqIHA.4884@TK2MSFTNGP06.phx.gbl...
>> Glen,
>>
>> already figured out moving emails from inbox to deletedItems folder after
>> few ours of googleing.
>>
>> Your link and code was helpful in finding a user defined folder and not
>> only distinguished folders, did not test yet to see how it works and if
>> so.
>>
>> Updating the contact link helps but sill I have many things to figure out
>> on how to update the status of an item ( email item ).
>> Not sure if the status of any item is stored on the server or just the
>> client.
>> Like Mark email as "Read", "Completed" etc..
>>
>> The following link does not work at all
>> http://schemas.microsoft.com/mapi/id/{00062008-0000-0000-C000-000000000046}/8530001ERest
>> of links lead to sea of info, I am lost.over all, Thank you very much for
>> taking the time to help me out.Thanks again, I learned from you,LVP"Glen
>> Scales [MVP]" wrote in
>> messagenews:Of0Bf$mqIHA.672@TK2MSFTNGP02.phx.gbl...> You might want to
>> have a look
>> athttp://groups.google.com.au/group/microsoft.public.exchange.development/browse_thread/thread/b31bda50451a770c/df5a3c2d6fb5313a
>> this moves mail from theinbox to a spam folder is the subject is prefix
>> with SPAM:>> To change the status of an item you need to use an
>> updateitem requestsomething simular
>> tohttp://msdn.microsoft.com/en-us/library/aa493909(EXCHG.80).aspx but you
>> willneed to modify the PR_FLAG_STATUS 0x10900003 mapi property which
>> controlsthe Flags. You may also need to set the text that's associated
>> with the flagusing
>> thehttp://schemas.microsoft.com/mapi/id/{00062008-0000-0000-C000-000000000046}/8530001E
>> named property.>> There is a lot more information in the Exchange SDK on
>> EWS which you candownload from https://msdn.microsoft.com/exchange you
>> may also want toconsider buy a book such
>> ashttp://www.microsoft.com/MSPress/books/10724.aspx which goes into a lot
>> moredetail.>> Rgds> Glen>> "LVP" wrote in
>> messagenews:uNBP03iqIHA.4476@TK2MSFTNGP04.phx.gbl...>> Hello,>>>> Using
>> Exchange 2007, WebServices>>>> I would like to move an email item from
>> the inbox to the draft folder orsome tempItem>>>> I would like to change
>> the status of an email item in the Inbox to like"Flag Completed">>>> I
>> just can not find sample code. The Programming Model is confusing...>>>>
>> any links or specific code to what I need is greatly appreciated.>>>>
>> Thank You,>>>> LVP>>>>>>>>
>>
>
>
date: Tue, 6 May 2008 16:48:35 -0700
author: LVP
|
|