![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#11
|
|||
|
|||
![]()
I'm sorry for not being clear on what am I going to do to the original
message. I'm simply not going to show it the recipient, but then forward a copy (through a back end process run on Exchagne Server) to an auditor and preserve it as evidence. In case the auditor gives the approval I'll remove the blocked status on the message and afterwards user will be able to see the original contents. Thanks for the links, I'll check them out now. Duke BTW: Pete McClean told me to say hi to you. |
Ads |
#12
|
|||
|
|||
![]()
This sounds like a scenario that should be implemented totally at the server
level, with no client-side functionality involved, much as some spam filters operate. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Duke2" wrote in message ... I'm sorry for not being clear on what am I going to do to the original message. I'm simply not going to show it the recipient, but then forward a copy (through a back end process run on Exchagne Server) to an auditor and preserve it as evidence. In case the auditor gives the approval I'll remove the blocked status on the message and afterwards user will be able to see the original contents. Thanks for the links, I'll check them out now. Duke BTW: Pete McClean told me to say hi to you. |
#13
|
|||
|
|||
![]()
Hi Sue,
Thank you very much for the advise. I'm now convinced that doing this operation at client side is not possible. However to do this at server side, I need to capture message selection event and then run my check on the server. Do you think Exchange will allow me to capture message selection events? I know this is something that's not possible with EWS as it's essentially a request-based set of operations. |
#14
|
|||
|
|||
![]()
Message selection, being a client function, doesn't fire an event on the
server. But if you modify the contents of the all the messages as they arrive it, you don't need selection. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Duke2" wrote in message ... Hi Sue, Thank you very much for the advise. I'm now convinced that doing this operation at client side is not possible. However to do this at server side, I need to capture message selection event and then run my check on the server. Do you think Exchange will allow me to capture message selection events? I know this is something that's not possible with EWS as it's essentially a request-based set of operations. |
#15
|
|||
|
|||
![]()
Hi Sue,
I'm sorry for making things confusing. Let me explain my requirement in a differnet (hopefully) simpler way. When a I select a message by clicking on it on Outlook, I want to capture that event and inside that event I want to retrieve its message ID, and instead of retrieving the message X (which it should retrieve), I want to retrieve message Y from the same mailbox. Is this something possible to do in Outlook forms? Thanks Duke |
#16
|
|||
|
|||
![]()
You mean "display," not "retrieve" for the messages, right? And you also
have the requirement, I presume, to prevent the user from seeing the original item's content. If so, the only way to accomplish those goals is for the original content to have been replaced *before* the user can do anything with the item, and that's not something that can be done with an Outlook form alone. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Duke2" wrote in message ... Hi Sue, I'm sorry for making things confusing. Let me explain my requirement in a differnet (hopefully) simpler way. When a I select a message by clicking on it on Outlook, I want to capture that event and inside that event I want to retrieve its message ID, and instead of retrieving the message X (which it should retrieve), I want to retrieve message Y from the same mailbox. Is this something possible to do in Outlook forms? Thanks Duke |
#17
|
|||
|
|||
![]()
Hi Sue,
No I mean "retrieve" not just "display". Can I change Outlook to retrieve a different message instead of the message it's supposed to retrieve from server? Thanks Duke |
#18
|
|||
|
|||
![]()
In a programming context, "retrieve" generally means to return values from
some source. You can return whatever values you want from whatever source you want, but if you want to block the message -- as your previous posts indicated -- then I can only assume that you're talking about what is displayed in the UI. So, that's "display," not "retrieve." Or do you have some other scenario in mind? -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Duke2" wrote in message ... Hi Sue, No I mean "retrieve" not just "display". Can I change Outlook to retrieve a different message instead of the message it's supposed to retrieve from server? Thanks Duke |
#19
|
|||
|
|||
![]()
Yes in that context it's "display". I only want to display a different
message without replacing the original message in the server. So later on when I want to, I can display the original message. In perview however, I dont mind showing the original message. Thanks Duke |
#20
|
|||
|
|||
![]()
Well, I can't say that makes any sense to me. I mean, what's the point of
showing the user one thing in the reading pane and another thing in the Inspector window. That sounds like a recipe for confusion. It's certainly not a scenario that would fit any definition of blocking that I've ever encountered. But if you want to do it, just use a custom form for those items that runs whatever code you want in the Item_Open event handler. Or, even simpler, design the custom form so that the only visible page has a text box on it with whatever it is you want the user to see, rather than the message body. All subject, of course, to the warning I gave earlier about potential problems with attachments if any of these items are forwarded. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Duke2" wrote in message ... Yes in that context it's "display". I only want to display a different message without replacing the original message in the server. So later on when I want to, I can display the original message. In perview however, I dont mind showing the original message. Thanks Duke |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Capturing Send/Receive events in VSTO add-in | Aakash Polra | Outlook - General Queries | 1 | September 30th 08 05:49 PM |
Capturing user Keypress in Outlook VBA | Praveen Mishra | Outlook and VBA | 3 | April 1st 08 01:42 PM |
Capturing OE 6.0 Message | Steve[_2_] | Outlook Express | 1 | August 7th 07 12:01 PM |
Control events in Outlook 2007 custom forms/regions | nalpakj | Outlook - Using Forms | 1 | January 10th 07 02:17 PM |
Control events in Outlook 2007 custom forms/regions | nalpakj | Outlook - Using Forms | 1 | January 9th 07 11:08 PM |