CreateParentEntity (NotesMIMEEntity - LotusScript®)

Creates a MIME entity and establishes it as the calling entity's parent. The calling entity becomes its first child.

Note: This method is new with Release 6.

Defined in

NotesMIMEEntity

Syntax

Set notesMIMEEntity = notesMIMEEntity .CreateParentEntity( )

Return value

notesMIMEEntity

NotesMIMEEntity. The new MIME entity.

Usage

This method generates for the new parent a Content-Type header with "multipart/mixed" as the value, and a boundary parameter.

If the calling entity is named "Body" (is a top-level mail entity), associated envelope headers are promoted to the parent. The calling entity does retain its "Content-" headers.

Example