msg:makeContainer
Last updated March 2020
Name
msg:makeContainer — Creates a new, unlinked, container message part
Synopsis
msg:makeContainer(mimetype, boundary, add_terminator);
mimetype: string boundary: string, optional add_terminator: boolean, optional
Description
Creates a new, unlinked, container message part. The mimetype
parameter specifies the MIME Content-Type that is to be used. If boundary
is left unspecified, a random boundary will be generated on your behalf.
If add_terminator is true
, "CRLF.CFLF
" will be added to the container so that it can be used as the top part of a message. This parameter defaults to false
.
Enable this function with the statement require('msys.extended.message');
.
See Also
Was this page helpful?