State of encrypt and sign button for a saved mail?(draft)

Status
Not open for further replies.
R

ryotyankou

How could i determine an email whether it is encrypted or signed?(draft

folder mails, Create new one and save.) I saw all available properies via

outlookspy(IMessage) but with no luck. I thought that may be messge class

should work, IPM.Note for common message, IPM.Note.SMIME for encrypt, IPM.

Note.SMIME.MultiSigned for signed and so on, but the truth is not the case, i

always get its value "IPM.Note" no matter what did you do on it.


 
Hi


> How could i determine an email whether it is encrypted or signed?(draft
> folder mails, Create new one and save.) I saw all available properies via
> outlookspy(IMessage) but with no luck. I thought that may be messge class
> should work, IPM.Note for common message, IPM.Note.SMIME for encrypt, IPM.
> Note.SMIME.MultiSigned for signed and so on, but the truth is not the
> case, i
> always get its value "IPM.Note" no matter what did you do on it.


I guess Outlook Object Model is lying to you. Try MfcMapi to check the

props of your signed email draft. You should see and IPM.Note.SMIME...

messageclass and a hidden attachment.

So you might need to go down at the extended mapi level to access the

real property values.

SvenC
 
3Q, SvenC, you are right, extend MAPI is great, it is show IPM.Note.SMIME. I

still have a question, could you please help me out it? If there're three

message:

1. Signed only: IPM.Note.SMIME

2. Encrypt only: IPM.Note.SMIME

3. Signed and Encrypted: IPM.Note.SMIME

All their class are IPM.Note.SMIME, how could i judge which one it is?

SvenC wrote:
> Hi
>
> > How could i determine an email whether it is encrypted or signed?(draft
> > folder mails, Create new one and save.) I saw all available properies via

> [quoted text clipped - 3 lines]
> > case, i
> > always get its value "IPM.Note" no matter what did you do on it.


> I guess Outlook Object Model is lying to you. Try MfcMapi to check the
> props of your signed email draft. You should see and IPM.Note.SMIME...
> messageclass and a hidden attachment.

> So you might need to go down at the extended mapi level to access the
> real property values.

> > SvenC



 
> 3Q, SvenC, you are right, extend MAPI is great, it is show IPM.Note.SMIME.
> I
> still have a question, could you please help me out it? If there're three
> message:
> 1. Signed only: IPM.Note.SMIME
> 2. Encrypt only: IPM.Note.SMIME
> 3. Signed and Encrypted: IPM.Note.SMIME
> All their class are IPM.Note.SMIME, how could i judge which one it is?


Sorry, I don't know. I would use MfcMapi to check if the message class

is really always identical. My next step would be to check the hidden

attachment if its name or content can give hints.

SvenC
 
Status
Not open for further replies.

Similar threads

Back
Top