AddAttachmentsToMail (open)
Add attachments to a mail record
Syntax
LOADLIB "wh::internet/mime.whlib";
RECORD FUNCTION AddAttachmentsToMail(RECORD toppart, RECORD ARRAY attachments)Parameters
RECORD toppartTop-level part of the MIME message to add the attachments to
RECORD ARRAY attachmentsrecord array with the attachments (STRING name, STRING data, STRING contenttype)
Return value
RECORDA record of the new Top-level MIME part