setHeaderValAndParams (NotesMIMEHeader - JavaScript)

Sets a header value and the parameters.

Defined in

NotesMIMEHeader

Syntax

setHeaderValAndParams(headerParamValue:string) : boolean
Parameter Description
String headerParamValue The header value and any parameters.
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

Any existing value for this header is replaced. Any existing parameters are replaced.

You must call Document.save to commit this change.