开发者

how to generate smime with file attachenment (eg, csv , pdf ) through openssl

开发者 https://www.devze.com 2023-02-09 05:01 出处:网络
开发者_Python百科I could able to generate SMIME content through openssl without any file attachment.

开发者_Python百科I could able to generate SMIME content through openssl without any file attachment.

But i need to generate SMIME content with file attachment.


You need to use a tool like makemime to generate a MIME message of type multipart/mixed that includes your text message and attached files as MIME components.

You would then pipe that plaintext multipart/mixed message through openssl smime to turn it into an S/MIME message.

0

精彩评论

暂无评论...
验证码 换一张
取 消