setHeaderVal (NotesMIMEHeader - JavaScript)

Sets a header value but not the parameters.

Defined in

NotesMIMEHeader

Syntax

setHeaderVal(headerValue:string) : boolean
Parameter Description
String headerValue The header value.
Return value Description
boolean
  • true if the header value can be saved as a MIME header upon Document.save.
  • false if the header value cannot be saved as a MIME header upon Document.save.

Usage

This method replaces any existing value for the header leaving the parameters intact.

You must call Document.save to commit this change.