07-28-2008 01:51 PM
I have an application which implements FolderListener to catch incoming email. However, when Content Protection is enabled (IT Security Policy), and the device is locked, the incoming Message object appears to be encrypted and its data is not accessable.
For example, an attempt to extract the "From: " Address object throws an AddressException, with message "<Content Protection Enabled> is not a valid address".
We had an idea that PeristentContent.decode() would remove the protection so that we could access the content of the email, but this method only returns a reference to the original Message object, and the object still appears to be encrypted.
Can someone point me in the right direction? Are these msesage objects simply not accessable when the device is locked?
07-28-2008 02:52 PM