2.2.3.4.2.3 Application/Mac-binhex40
This section specifies MIME analysis for MIME parts with a Content-Type header value of "application/mac-binhex40", as specified in [RFC1741].
The procedure of MIME header analysis for "application/mac-binhex40" attachments is the same as for the procedure for ordinary file attachments that is specified in section 2.2.3.4.1, with the following exceptions:
MIME readers set the value of the PidTagAttachMimeTag property ([MS-OXCMSG] section 2.2.2.29) to "application/mac-binhex40".
The value of the Content-Transfer-Encoding header SHOULD<180> be ignored. MIME readers use BinHex decoding, as specified in [RFC1741], instead.
Processing of the MIME body SHOULD include parsing a binary structure of the decoded content, as specified in [RFC1741]. MIME readers SHOULD<181> use the header and resource fork data from this structure to fill the PidNameAttachmentMacInfo property ([MS-OXCMSG] section 2.2.2.29) with appropriate data, as specified in section 2.2.3.4.2.1. MIME readers SHOULD also use this data to fill the MacBinary structure, which SHOULD<182> be written to the value of the PidTagAttachDataBinary property ([MS-OXCMSG] section 2.2.2.7).
MIME readers SHOULD<183> copy the attachment file name that is extracted from the BinHex structure to the value of the PidTagAttachFilename property ([MS-OXCMSG] section 2.2.2.11), but only if no file name was found during analysis of the MIME headers.<184>