Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






CreateMIMEEntity method

Creates an uninitialized top-level MIME entity in a document.

Note This method is new with Release 6.

Defined in

NotesDocument

Syntax

Set notesMIMEEntity = notesDocument.CreateMIMEEntity( [ itemName$ ] )

Parameters

itemName$

String. The name of the item containing the MIME entity. "Body" is the default.

Return value

notesMIMEEntity

NotesMIMEEntity. The new MIME entity.

Usage

An item created with this method is of type MIME_PART.

To initialize the MIME entity, provide some content and save the containing document.

A MIME entity named "Body" gets special support as a Domino mail message. In particular, non-Content headers become items in the document. If you specify an item name other than Body, the containing document cannot be mailed.

Language cross-reference

createMIMEEntity method in Java Document class

See examples

Examples: CreateMIMEEntity method
Related topics
Working with a MIME entity in LotusScript classes




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009