closeMIMEEntities (NotesDocument - JavaScript)

Closes MIME processing associated with items of a specified name.

Defined in

NotesDocument

Syntax

closeMIMEEntities() : boolean

closeMIMEEntities(savechanges:boolean) : boolean

closeMIMEEntities(savechanges:boolean, entityitemname:string) : boolean

Parameter Description
savechanges True saves MIME entity content and header changes in the associated in-memory items. False (default) discards changes.
String entityitemname The name of the item or items associated with the MIME processing. "Body" is the default.
Return value Description
true if MIME processing for the items closes successfully
false if MIME processing for the items does not close successfully

Usage

This method allows you to terminate the scope of MIME processing so you can safely work on items through the item interface. Do not work on items directly without first closing MIME processing.

Saving the MIME entity content and headers with this method is an in-memory process. To save document content permanently, you must call save in NotesDocument.

This method returns false if no MIME processing is associated with items of the specified name.

Examples

See send.