CreateMIMEMailingTopPart (open)
Create a top part for a MIME mailing
Syntax
LOADLIB "wh::internet/mime.whlib";
RECORD FUNCTION CreateMIMEMailingTopPart(BLOB plainmail, BLOB htmlmail, RECORD ARRAY mail_images)Parameters
BLOB plainmailPlain/text part
BLOB htmlmailHTML part
RECORD ARRAY mail_imagesEmbedded objects
contentidContent id (without the 'cid:' namespace prefix)
contenttypeContent type
dataObject data
filenameOriginal filename
Return value
RECORDA top-level MIME part for an embedded mailing. Ids 2 up to 6+length(embedded) will be used as the IDs in the toppart record and its contained objects