append_part


Description:

public void append_part (MessageHeaders headers, Bytes body)

Adds a new MIME part to this 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.)

Parameters:

this

a Multipart

headers

the MIME part headers

body

the MIME part body