Can I have S/MIME as part of a multipart/mixed message? -
i trying send s/mime encrypted email through pre-defined email distribution system.
i give them valid email, right headers , correctly encrypted content.
the problem is, system rips email apart , creates new 'multipart/mixed' message it, smime.p7m attached attachment.
though thunderbird somehow manages encrypt content right way, others outlook don't , show empty message.
my question here is: is possible have s/mime message part of multipart message?
an example of how newly created message looks like:
... mime-version: 1.0 content-type: multipart/mixed; boundary="_=_swift_v4_1474547127_a48edcebcdce51b8c8f455_=_" --_=_swift_v4_1474547127_a48edcebcdce51b8c8f455_=_ content-type: application/x-pkcs7-mime; smime-type=enveloped-data; name=smime.p7m content-transfer-encoding: base64 content-disposition: attachment; filename=smime.p7m mimdul4gcsqgsib3dqeha6cda7pomimdukkcaqaxggjumiicagibadbsmeuxczajbgnvbaytakfv ... --_=_swift_v4_1474547127_a48edcebcdce51b8c8f455_=_--
yes, can have application/x-pkcs7-mime
subpart of multipart/mixed
. valid. there no limitation on application/x-pkcs7-mime
part must reside in mime structure.
Comments
Post a Comment