PartIter.replace

bool replace(gmime.object.ObjectWrap replacement)

Replaces the #GMimeObject at the current position with replacement.

Parameters

replacementa #GMimeObject

Returns

true if the part at the current position was replaced or

false otherwise.