Multipart.getSubpartFromContentId

Gets the mime part with the content-id content_id from the multipart multipart.

class Multipart
getSubpartFromContentId
(
string contentId
)

Parameters

contentId string

the content id of the part to look for

Return Value

Type: gmime.object.ObjectWrap

the #GMimeObject whose content-id matches the search string, or null if a match cannot be found.