IBM Support

Troubleshooting MIME and converted Rich Text messages

Product documentation


This document describes Lotus Notes message functionality for messages in MIME format.


This document describes Lotus Notes message functionality for messages in MIME format.

You can determine if a message is in Notes rich text or MIME format by checking the Body field on the Document Properties' fields panel. If the message is in rich text format, the Body field is of type, Rich Text. If it is in MIME format, the Body field is of type, MIME Part, and a field named $NotesHasNativeMIME exists and is equal to "1".

You can determine if the message was in MIME format at one point by viewing the $MIMETrack field. This field gives you the conversion history of the message:

-- If there is no $MIMETrack field, the message originated in Notes rich text or was converted by a SMTP MTA.

-- "Itemized by ...." - the server or router takes an Internet mail message and stores it in a Notes message document with a sequence of Body fields of type, MIME Part. Each body field corresponds to a MIME body part or a MIME Multipart termination. The field contains the MIME "blob" specific to that part.

-- "Serialized by... " - the router takes the message stored in a Notes document and converts it to a MIME message. This occurs when a Person Document's mail system is set to POP3/IMAP. Serializing prepares documents for download via the protocol after being stored as a Notes message.

-- "MIME - CD by...." - the server or router converts the Notes message MIME Part body fields into one or more rich text body fields.

    1. The router converts this based on the format preference in the Person Document and whether any mailfile is in ODS format.

    2. The server converts this temporarily if the message is perceived to be opened by the Notes client. If the message is edited or copied by the client, it is converted permanently.

Information in the MIME header also affects how a message is displayed. The only way to determine what was in the MIME header is to trap the message at the server. For information about how to do this, refer to Document #1100069, "Font, Color and Size Change Back to Default When an Agent Re-Saves an Updated Document."

Content-Type: When the Content-Type's Name parameter is equal to a filename, Notes encapsulates the MIME Part into an attachment with that file name and attaches it to the message as a $File field. For example, if the Content-Type is set to image/jpeg, the encoded image in the corresponding section is attached. If the Content-Type is set to text/html, the text in the section is attached as a file. In both cases, the Notes viewer can view and launch the image or HTML, respectively.

Content-Disposition: When the Content-Disposition equals "inline", Notes creates a $File field containing the MIME "blob" attachment. However, when the message is opened, there is no attachment icon and the attachment is rendered automatically. For example, if the Content-Type's Name parameter indicates an image, the image will display. If it indicates an HTML file, the HTML is rendered automatically when opened. In both cases, there is no attachment to detach.

NOTE: In 4.0 and 4.5 releases of Lotus Domino, Content-Location and Content-Base parameters were supported. As of release 5.0, these parameters were no longer supported.

Messages containing web pages often do not contain actual images. They may reference images via the <IMG SRC> tag in the HTML. This HTML forces the client to act as a browser, going out to the site and obtaining those images. When a web page is e-mailed from the browser, the page is likely to contain references to images that are elsewhere on the site. The Domino server does not obtain these images and store them in the document. It simply stores the HTML in the message so that the client can do the browsing when the message is displayed.

Related information

How to Trap Inbound SMTP Messages on a Domino 5.x Serve
Font, Color and Size Change Back to Default When an Age

Document information

More support for: Lotus End of Support Products
Lotus Notes

Software version: 5.0, 6.0, 6.5, 7.0

Operating system(s): AIX, Linux, Windows, iOS

Reference #: 7002572

Modified date: 16 June 2003

Translate this page: