I need some VBA code that will allow me to perform the following action.
1) Search all folders for a specific string ("-----BEGIN PGP MESSAGE-----")
For each message found the following actions needs to happen
2a) Open the message ( as a new window - not just in the preview panek
2b) The message can now be saved ( eg File -> Save )
2c) The opened window can now be closed
To put a bit more detail on the requirement.
We have PGP which stores specific email messages in the PST in an encryped form. The only readable part in the message is the search string.
The Action of opening the message invokes the PGP add-in to decrypt the message, and now the message has been decrypted, then message can be saved back into the PST in its non-encrypted form
I am offering max points, but will need full code example please
If its not possible in VBA, then VB or .NET could be used