R
robert dugal
On an inbound message in OnOpen() my plug-in modifies the PR_BODY
property and creates some attachments then calls SaveChanges(
KEEP_OPEN_READWRITE ).
Neither the body or these attachments showup in the form but if I look
at the message with OutlookSpy the properties exist. And with
autopreview they also show up. I tried moving this code to
OnReadComplete() and now the body shows up in the form but not the
attachments. And again all properties exist in OutlookSpy.
Basically what I'm trying to accomplish is to decrypt an inbound
message when the user opens the message and when the message is closed
restore it to the encrypted state. The encrypted text will contain a
body and possibly attachments, and all must only visible to the user
while the message is open.
But I cannot get this to work in Outlook 2000.
Can anyone help me get this to work?
property and creates some attachments then calls SaveChanges(
KEEP_OPEN_READWRITE ).
Neither the body or these attachments showup in the form but if I look
at the message with OutlookSpy the properties exist. And with
autopreview they also show up. I tried moving this code to
OnReadComplete() and now the body shows up in the form but not the
attachments. And again all properties exist in OutlookSpy.
Basically what I'm trying to accomplish is to decrypt an inbound
message when the user opens the message and when the message is closed
restore it to the encrypted state. The encrypted text will contain a
body and possibly attachments, and all must only visible to the user
while the message is open.
But I cannot get this to work in Outlook 2000.
Can anyone help me get this to work?