if the part was not contained within the multipart.
Multipart.replace
gmime.object.ObjectWrap replace(int index, gmime.object.ObjectWrap replacement)Replaces the part at the specified index within multipart with replacement.
Parameters
index | the 0-based index of the part to replace |
replacement | a #GMimeObject to use as the replacement |
Returns
the part that was replaced or null