setHeaderVal (MIMEHeader - Java)

Sets a header value but not the parameters.

Defined in

MIMEHeader

Syntax

public boolean setHeaderVal(String headerValue) 
     throws NotesException

Parameters

String headerValue

The header value.

Return value

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.

Example