Re: Problems Creating S/MIME Message

From: Michel Gallant \(MVP\) (neutron@istar.ca)
Date: 03/13/03


From: "Michel Gallant \(MVP\)" <neutron@istar.ca>
Date: Thu, 13 Mar 2003 13:27:26 -0500


Nick,
You may wish to search the CAPICOM mail-list on this:
   http://discuss.microsoft.com/archives/capicom.html
 - Mitch

"Nick" <asdf@me.com> wrote in message news:#RUhv5P6CHA.2428@TK2MSFTNGP09.phx.gbl...
> I am currently writing a program in c# using CAPICOM to create S/MIME
> emails. I am having problems with both signing and enveloping.
>
> When I try to open one of my generated messages in Outlook Express, they
> register correctly as signed/encrypted messages but in both cases the
> attachments are smime.p7m files of 0 bytes.
>
> Here is my procedure:
>
> 1. Create the base mime entity to have security measures applied to it:
> 2: Sign/Envelope the base mime entity into pkcs#7 form using CAPICOM
> 3: Create the needed headers for the S/MIME message
> 4: Put the signed/enveloped data in the body of the S/MIME message in base64
>
> Any help would be appreciated greatly.
>
>