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 |
#1
|
|||
|
|||
Property for a message that is secured (encrypted)
Is there are property I can use to determine if an email has been
encrypted? Our exchange server has secure email capabilities and some of my macros, which I use to move emails into particular folders, fail when the email item has been 'secured'. Thanks Dick |
Ads |
#2
|
|||
|
|||
Property for a message that is secured (encrypted)
Different ways of encrypting emails and different encryption software
produces different results but in essence what you want to do is to look at the MessageClass of the email. A normal email will have a MessageClass of "IPM.Note". A signed/encrypted message would have something like "IPM.Note.Secure" or "IPM.Note.SMIME", often with other tags appended to that. For example something like "IPM.Note.SMIME.MultipartSigned". Examine the encrypted messages in your store to see what the MessageClass property looks like to see what you should be testing for. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Dick" wrote in message oups.com... Is there are property I can use to determine if an email has been encrypted? Our exchange server has secure email capabilities and some of my macros, which I use to move emails into particular folders, fail when the email item has been 'secured'. Thanks Dick |
#3
|
|||
|
|||
Property for a message that is secured (encrypted)
The only problem is that no matter what you do, Outlook always represents
such messages as a regular MailItem object with a message class of IPM.Note. Even if you try to do MAPI through MAPIItem.MAPIOBJECT, Outlook will return a fake IMessage with PR_MESSAGE_CLASS of IPM.Note. The best you can do is use MAPI to call IMAPISession::OpenEntry using the entry id retrieved from OOM to get the real IMessage. If you are using MailItem.MAPIOBJECT, you can retreive PR_ICON_INDEX MAPI property (*if* that property exists). Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Ken Slovak - [MVP - Outlook]" wrote in message ... Different ways of encrypting emails and different encryption software produces different results but in essence what you want to do is to look at the MessageClass of the email. A normal email will have a MessageClass of "IPM.Note". A signed/encrypted message would have something like "IPM.Note.Secure" or "IPM.Note.SMIME", often with other tags appended to that. For example something like "IPM.Note.SMIME.MultipartSigned". Examine the encrypted messages in your store to see what the MessageClass property looks like to see what you should be testing for. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Dick" wrote in message oups.com... Is there are property I can use to determine if an email has been encrypted? Our exchange server has secure email capabilities and some of my macros, which I use to move emails into particular folders, fail when the email item has been 'secured'. Thanks Dick |
#4
|
|||
|
|||
Property for a message that is secured (encrypted)
Ken,
Thanks. The class that came back is "IPM.Note". Dick On Sep 24, 11:13 am, "Ken Slovak - [MVP - Outlook]" wrote: Different ways of encrypting emails and different encryption software produces different results but in essence what you want to do is to look at the MessageClass of the email. A normal email will have a MessageClass of "IPM.Note". A signed/encrypted message would have something like "IPM.Note.Secure" or "IPM.Note.SMIME", often with other tags appended to that. For example something like "IPM.Note.SMIME.MultipartSigned". Examine the encrypted messages in your store to see what the MessageClass property looks like to see what you should be testing for. -- Ken Slovak [MVP - Outlook]http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Optionshttp://www.slovaktech.com/products.htm "Dick" wrote in message oups.com... Is there are property I can use to determine if an email has been encrypted? Our exchange server has secure email capabilities and some of my macros, which I use to move emails into particular folders, fail when the email item has been 'secured'. Thanks Dick- Hide quoted text - - Show quoted text - |
#5
|
|||
|
|||
Property for a message that is secured (encrypted)
Dmitry,
I am using VBA. Is MAPIOBJECT or its equivalent available in VBA? Dick On Sep 24, 1:22 pm, "Dmitry Streblechenko" wrote: The only problem is that no matter what you do, Outlook always represents such messages as a regular MailItem object with a message class of IPM.Note. Even if you try to do MAPI through MAPIItem.MAPIOBJECT, Outlook will return a fake IMessage with PR_MESSAGE_CLASS of IPM.Note. The best you can do is use MAPI to call IMAPISession::OpenEntry using the entry id retrieved from OOM to get the real IMessage. If you are using MailItem.MAPIOBJECT, you can retreive PR_ICON_INDEX MAPI property (*if* that property exists). Dmitry Streblechenko (MVP)http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Ken Slovak - [MVP - Outlook]" wrote in . .. Different ways of encrypting emails and different encryption software produces different results but in essence what you want to do is to look at the MessageClass of the email. A normal email will have a MessageClass of "IPM.Note". A signed/encrypted message would have something like "IPM.Note.Secure" or "IPM.Note.SMIME", often with other tags appended to that. For example something like "IPM.Note.SMIME.MultipartSigned". Examine the encrypted messages in your store to see what the MessageClass property looks like to see what you should be testing for. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Dick" wrote in message roups.com... Is there are property I can use to determine if an email has been encrypted? Our exchange server has secure email capabilities and some of my macros, which I use to move emails into particular folders, fail when the email item has been 'secured'. Thanks Dick- Hide quoted text - - Show quoted text - |
#6
|
|||
|
|||
Property for a message that is secured (encrypted)
Take a look at what Dmitry said about that in this thread.
-- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Dick" wrote in message ups.com... Ken, Thanks. The class that came back is "IPM.Note". Dick |
#7
|
|||
|
|||
Property for a message that is secured (encrypted)
No, it is IMessage Extended MAPI object, which is not usable from any script
languages since it is derived from IUnknown rather that IDispatch. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Dick" wrote in message oups.com... Dmitry, I am using VBA. Is MAPIOBJECT or its equivalent available in VBA? Dick On Sep 24, 1:22 pm, "Dmitry Streblechenko" wrote: The only problem is that no matter what you do, Outlook always represents such messages as a regular MailItem object with a message class of IPM.Note. Even if you try to do MAPI through MAPIItem.MAPIOBJECT, Outlook will return a fake IMessage with PR_MESSAGE_CLASS of IPM.Note. The best you can do is use MAPI to call IMAPISession::OpenEntry using the entry id retrieved from OOM to get the real IMessage. If you are using MailItem.MAPIOBJECT, you can retreive PR_ICON_INDEX MAPI property (*if* that property exists). Dmitry Streblechenko (MVP)http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Ken Slovak - [MVP - Outlook]" wrote in . .. Different ways of encrypting emails and different encryption software produces different results but in essence what you want to do is to look at the MessageClass of the email. A normal email will have a MessageClass of "IPM.Note". A signed/encrypted message would have something like "IPM.Note.Secure" or "IPM.Note.SMIME", often with other tags appended to that. For example something like "IPM.Note.SMIME.MultipartSigned". Examine the encrypted messages in your store to see what the MessageClass property looks like to see what you should be testing for. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Dick" wrote in message roups.com... Is there are property I can use to determine if an email has been encrypted? Our exchange server has secure email capabilities and some of my macros, which I use to move emails into particular folders, fail when the email item has been 'secured'. Thanks Dick- Hide quoted text - - Show quoted text - |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
getting email address of To property in Outlook Inbox and From property in Outlook Outbox | Omatase | Outlook - General Queries | 1 | July 19th 07 01:04 PM |
how do i set my wireless router to be secured | Margie | Outlook - General Queries | 2 | September 14th 06 08:03 PM |
encrypted message could not be displayed | TuffTurf | Outlook Express | 7 | September 9th 06 07:22 PM |
Can an automatic message be added when sending encrypted e-mail? | Carnitram | Outlook and VBA | 1 | June 7th 06 04:53 PM |
encrypted PST file | Elijah Bass | Outlook - General Queries | 1 | March 24th 06 11:04 PM |