EncodeMIMEMessage (open)
Encode a message in MIME format
Syntax
LOADLIB "wh::internet/mime.whlib";
BLOB FUNCTION EncodeMIMEMessage(RECORD ARRAY headers, RECORD toppart, RECORD options)
Parameters
RECORD ARRAY headers
Array with the mime headers
field
Name of the field
value
Value of the field
RECORD toppart
Top MIME message part
RECORD options
Return value
BLOB
A blob containinng the complete MIME message