Zip Component, Email Component, Encryption Component ActiveX Control for Zip Compression .NET Components for ASP.NET
ActiveX and .NET Components for Zip Compression, Encryption, Email, XML, S/MIME, HTML Email, Character Encoding, Digital Certificates, FTP, and more ASP Email ActiveX Component


Index of Chilkat Blog Posts

July 11, 2007

Sending Encrypted Email using Chilkat to be Received in Outlook

Question:
I have a project that requires emails be sent to external vendors. These emails are required to be encrypted as they contain private information. I have successfully been able to send an encrypted email (using Chilkat). However, I am at a loss as how the recipient (using Outlook) will be able to decrypt said email.

Answer:
To send an encrypted email, you must use the digital certificate of the recipient. This certificate should contain the receiver’s email address in its Subject. For example, when viewing the intended receiver’s certificate in the Windows Certificate Management Console (certmgr.msc), you should see something like this for the Subject:

E = support@chilkatsoft.com
CN = Chilkat Software, Inc.
O = Chilkat Software, Inc.
L = Wheaton
S = Illinois
C = US

To encrypt, you only need the public key. Your partner may wish to export his/her certificate to a .cer file and then send it to you. There is no danger in making your digital certificate publicly available in a .cer file. (PFX files contain private keys, but .cer files do not.)

To receive an encrypted email in Outlook, a digital ID needs to be imported into Outlook and then associated with the email account. You can do this via the Outlook Options’ Security tab. (It may vary with the version of Outlook. Microsoft is always changing things, so this is not the place to get detailed help on Microsoft Outlook.) In a nutshell, the intended recipient should’ve imported his cert (possibly from a password-protected PFX file) and setup his/her Outlook email account with a digital ID. Once that is done, your email is automatically decrypted by Outlook. If Outlook is not setup correctly, you’ll get a message such as "Can’t open this item. Your Digital ID name can not be found by the underlying security system.".


Privacy Statement. Copyright 2000-2011 Chilkat Software, Inc. All rights reserved.
Send feedback to support@chilkatsoft.com

Components for Microsoft Windows XP, 2000, 2003 Server, Vista, Windows 7, and Windows 95/98/NT4.