problem about S/MIME [C], \r\n, boundary.. strange problem for me

2011-09-06 Thread laur
Hello, I don't understand something.. I have a html mail (only html): Date:... From:... To MIME-Version: 1.0 Content-type: text/html; Charset="ISO-8859-1" [..] I don't know if I've the good method, but I do this in my C program: -> read the message -> put headers into

S/MIME in [C], need some precisions

2011-08-31 Thread laur
Hello, I need to incorporate, in a program in C, who send mail of my users, a S/MIME signature. I've already sign, for test, a text message, and an html message, with command openssl smime -sign.. and it's ok. (without headers of course, i had them later), and I see if message have text and html