JAVA/CORBA CLASSES


createHeader method
Example

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

Note This method is new with Release 6.

Defined in

MIMEEntity

Syntax

public MIMEHeader createHeader(String headerName)
    throws NotesException

Parameters

String headerName


Return value

MIMEHeader


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 null 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.

Language cross-reference

CreateHeader method in LotusScript NotesMIMEEntity class

Example
See Also