GetHeaderVal (NotesMIMEHeader - LotusScript®)

Returns a header value without parameters.

Defined in

NotesMIMEHeader

Syntax

headerValue$ = notesMIMEHeader .GetHeaderVal( [ folded ] , [ decoded ] )

Parameters

folded

Boolean. Optional. True formats for multi-line representation per the RFC-822 concept of folding. False (default) formats for single-line representation per the RFC-822 concept of unfolding.

decoded

Boolean. Optional. True decodes any RFC-2047 encodings. False (default) retains any encodings. False is enforced if folded is True.

Return value

headerValue$

String. The header value.

Usage

Folding terminates the header with a CRLF. Depending on length (1024 for X-Notes-Item headers and 78 for other headers), folding inserts CRLFs to break the header into multiple lines. Folding also inserts CRLFs after semicolons and commas. Unfolding removes all CRLFs.

Example