On Wed, Jan 08, 2003, Dr. Stephen Henson wrote:

> On Wed, Jan 08, 2003, Stephane Rozes wrote:
> 
> > Hello the list,
> > 
> > I have a problem when I want to sign with S/MIME an HTML mail content.
> > 
> > When I sign HTML data (openssl smime -rc2-128 -text -sign -in
> > example.htm -out result.txt -signer cert.pem), OpenSSL adds a Content-Type
> > "text/plain" above my HTML part (see below). So when I receive the e-mail,
> > the mail client displays the HTML code and does not "interpret" it.
> > 
> > Do you know a way to force the "Content-Type" of the "content" section to be
> > "text/html" in order to the HTML e-mail can be viewed correctly in a mail
> > client ? or another way to display the signed HTML content correctly in a
> > mail client ?
> > 
> Use -notext as mentioned in the fine manual.
> 

Seems like I should read the fine manual first before replying. There was a
-notext option in a never-made-public version of my S/MIME code but not
in OpenSSL.

For OpenSSL don't use the -text option which is mentioned in the fine
manual... Then you have to add your own MIME headers to the content.

Steve.
--
Dr. Stephen Henson      [EMAIL PROTECTED]            
OpenSSL Project         http://www.openssl.org/~steve/
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to