[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How do I Programmatically remove a Digital Signature from an Outlook Mail Item or Surpress the dialog when altering a signed message?

Posted on 2008-11-13
4
Medium Priority
?
2,527 Views
Last Modified: 2013-11-10
I've created a small add-in for Outlook 2007 that removes the attachments and inserts a link to the removed files.  Everything works, however when modifying a message with a digital certificate the user will be prompted with a warning that saving the message will remove the certificate (which it should be since it's been modified).

I want to suppress the dialog or remove the digital signature before saving the modified messages.  Messages without the signatures save with no issues.

There is an office. Signature names space available but it doesn't appear to be applicable to outlook mail items.
0
Comment
Question by:J-Techie
  • 3
4 Comments
 
LVL 31

Expert Comment

by:Paranormastic
ID: 22954803
Seems to me that the way to go about that would be to export/save it as a .msg file so the digital signature would remain intact and just link to the whole message, or to make an exception to let signed emails through.  Sorry, not my area to say how exactly to go about doing this, but maybe this might get you started down the right path or pop an idea into the head of another expert to carry forward with this idea.
0
 

Author Comment

by:J-Techie
ID: 22960080
Your suggestion wont actually work as is, but I will try and see if copying the message and deleting the original will remove the Signature.  If that works, youll get the points.
0
 

Author Comment

by:J-Techie
ID: 23003048
Copying the message doesn't work.

I attempted to modify the message then copy it, but you get the same warning regarding the Digital ID.  Nearly everyone I deal with has a Digital ID, so it is a bit of a annoyance.  

There has to be some way to strip the digital id from the message.
0
 

Accepted Solution

by:
J-Techie earned 0 total points
ID: 23148899
I found the namespace
System.Security.Cryptography.Pkcs

SignedCMS allows the management of encryption and signing with x509 certificates.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question