TMimeMess.AddPartMultipart
TMimeMess     

function AddPartMultipart(Const MultipartType: string; Const PartParent: TMimePart): TMimePart;

Unit
MIMEmess

Description
Add MIME part as subpart of PartParent. If you need set root MIME part, then set as PartParent NIL value. If you need set more then 1 subpart, you must have PartParent of multipart type!

This part is marked as multipart with secondary MIME type specified by MultipartType parameter. (typical value is 'mixed')

This part can be used as PartParent for another parts (include next multipart).

If you need only one part, then you not need Multipart part.


See also:
AddPart, AddPartBinary, AddPartBinaryFromFile, AddPartHTML, AddPartHTMLBinary, AddPartHTMLBinaryFromFile, AddPartHTMLFromFile, AddPartText, AddPartTextFromFile, MessagePart