"Hellan,Kim KHE" wrote:
>
> > > Is it possible to also include attachments in an S/MIME message created by
> > > OpenSSL?
> > > I can only find code to add plain text.
>
> > Attachments _are_ plain text, once encoded, so there's no problem. Just
> > be sure to include proper MIME headers in the beginning of the file.
> > You can create the encoded MIME object with tools such as "mmencode"
> > (not sure if I remember the name correctly). Good luck.
>
> Thanks...
> Yes you're right that attachments are plain text as they are BASE64 encoded.
>
> Does anyone have some sourcecode for such a "MIME object" encoder?
Try "mmencode" from the Metamail package. It ships with most unices,
try google.org or rpmfind.net to locate the source.
> I assume that this "MIME object" file can be supplied as the "-in" parameter
> to the OpenSSL S/MIME tool.
Yup.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]