Multipart.appendPart

Adds a new MIME part to @multipart with the given headers and body. (The multipart will make its own copies of @headers and @body, so you should free your copies if you are not using them for anything else.)

class Multipart
void
appendPart

Parameters

headers MessageHeaders

the MIME part headers

body_ Buffer

the MIME part body

Meta

Since

2.26