Preamble (MIMEEntity - Java)

Read-write. Preamble of a MIME multipart entity.

Note: This property is new with Release 6.

Defined in


Data type



public String getPreamble( )
     throws NotesException
public void setPreamble(String preamble)
     throws NotesException


This property is the additional information that can precede the first child entity of a multipart MIME entity according to RFC-2046.

This property applies where "multipart" is the Content-Type. Otherwise, this property is an empty string.

Notes/Domino includes the preamble at the beginning of the text of a MIME item.

For the parent entity in a multipart entity, getContentAsText returns the preamble.

Setting the preamble automatically appends a carriage return and line feed, replacing any explicit trailing carriage return and line feed characters.