Re: How do I determine S/MIME format mail??
"DINH Viêt Hoà" <[email protected]> Mon, 12 Nov 2007 09:47:11 +0100
| Newsgroups | gmane.mail.libetpan.user |
|---|---|
| Message-ID | <[email protected]> |
On 11/12/07, [email protected] <[email protected]> wrote: > Hi libetpan guys.. > > When I use fetch-attachment sample to receive S/MIME format mail > I receive smime.p7s attachment from S/MIME signed mail > smime.p7m attachment from S/MIME encrypt mail > It seem like We can not decrypt this attachment alone. > > Do we need to decrypt whole S/MIME file? > > How to determine some mail is S/MIME format mail, not MIME formail mail? > There is some fields in libetpan can show this? Hello, libetpan/src/engine/mailprivacy_smime.c: functions: smime_is_signed() and smime_is_encrypted() can show you how to detect a given message is S/MIME signed or encrypted. -- DINH Viêt Hoà ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/