JAVA/CORBA CLASSES


createMIMEEntity method
Example

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

Note This method is new with Release 6.

Defined in

Document

Syntax

public MIMEEntity createMIMEEntity()
   throws NotesException

public MIMEEntity createMIMEEntity(String itemName)
   throws NotesException

Parameters

String itemName


Return value

MIMEEntity


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 LotusScript NotesDocument class

Example
See Also