Share via


VSTO 2005- Working with Encrypted Email

I was answering another question in our forum, and a user was creating a wicked add-in with our great VSTO Outlook add-in support, but ran into trouble when trying to cast an email returned from a collection into a MailItem instance. However, this cast will not work if the email is encrypted.

So, what to do? Your best option (even though it’s unsupported) is to use Collaboration Data Objects (CDO) 1.21:

How to use Collaboration Data Objects to see if a message is signed and/or encrypted

Here’s the 411 on CDO in .NET not being supported:

https://support.microsoft.com/?kbid=813349

How many applications would  never see the light of day if they did not include something unsupported?

It’s a rhetorical question, but an answer would be nice.

Fourth Rock Thought for the Day: I’m eating some Watermelon bubble gum right now. I love the smell of this kind of cheap bubble gum. Does anyone else love that Rainblo bubble gum?

See CandyDirect.com

 I find that the best tasting gum lasts the least amount of time. As Bono once penned:

You know you’re chewing bubble gum
You know what it is, but you still want some
You just can’t get enough of that lovey dovey stuff
Let’s go
Discotheque.

Rock On