gmime.multipart
Module for [Multipart] class
Types 3
classMultipart : gmime.object.ObjectWrap
A base MIME multipart object.
Methods
MultipartGidBuilder builder() static nothrowGet builder for [gmime.multipart.Multipart] Returns: New builder objectgmime.multipart.Multipart newWithSubtype(string subtype) static nothrowCreates a new MIME multipart object with a content-type of multipart/subtype.void foreach_(gmime.types.ObjectForeachFunc callback) nothrowRecursively calls callback on each of multipart's subparts.string getBoundary() nothrowGets the boundary on the multipart. If the internal boundary is null, then an auto-generated boundary will be set on the multipart and returned. Returns: the boundary on the multipart.int getCount() nothrowGets the number of parts contained within multipart. Returns: the number of parts contained within multipart.string getEpilogue() nothrowGets the epilogue on the multipart. Returns: a pointer to the epilogue string on the multipart.gmime.object.ObjectWrap getPart(int index) nothrowGets the part at the specified index within the multipart.string getPrologue() nothrowGets the prologue on the multipart. Returns: a pointer to the prologue string on the multipart.gmime.object.ObjectWrap getSubpartFromContentId(string contentId) nothrowGets the mime part with the content-id content_id from the multipart multipart.void insert(int index, gmime.object.ObjectWrap part) nothrowInserts part into multipart at the specified index.gmime.object.ObjectWrap removeAt(int index) nothrowRemoves the part at the specified index from multipart.gmime.object.ObjectWrap replace(int index, gmime.object.ObjectWrap replacement) nothrowReplaces the part at the specified index within multipart with replacement.void setBoundary(string boundary) nothrowSets boundary as the boundary on the multipart. If boundary is null, then a boundary will be auto-generated for you.Fluent builder implementation template for gmime.multipart.Multipart
Fluent builder for gmime.multipart.Multipart