CreateHeader (NotesMIMEEntity - LotusScript®)

Creates a MIME header and returns its representation as an object.

Note: This method is new with Release 6.

Defined in

NotesMIMEEntity

Syntax

Set notesMIMEHeader = notesMIMEEntity .CreateHeader( headerName$ )

Parameters

headerName$

String. The name of the header.

Return value

notesMIMEHeader

NotesMIMEHeader. The new MIME header.

Usage

The MIME header applies to the calling MIME entity.

The new MIME header has only a name. It has no value or parameters.

This method returns Nothing if creation of the header exceeds a known limit for headers of the same name.

SetContentFromBytes and SetContentFromText generate Content-Type and Content-Transfer-Encoding headers. EncodeContent generates Content-Transfer-Encoding headers.

Example