Name
msgpart:header — If mode is replace (or unspecified): first deletes all other headers of that name before appending the new value to the message headers
Synopsis
msgpart:header(name, value, mode);
name: string value: string mode: string, optional
Description
If the mode is replace
(or unspecified), first delete all other headers of that name before appending the new value to the message headers. The other modes are prepend
and append
.
Enable this function with the statement require('msys.extended.message');
.
Was this page helpful?