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

  • Thread starter ryotyankou via OfficeKB.com
  • Start date
R

ryotyankou via OfficeKB.com

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.
 
S

SvenC

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.
 
R

ryotyankou via OfficeKB.com

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?
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.
 
S

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top