SendMIMEMessageTo (open)
Encode a message in MIME format
Syntax
LOADLIB "wh::internet/mime.whlib";
MACRO SendMIMEMessageTo(RECORD ARRAY headers, RECORD toppart, MACRO PTR receivefunction, RECORD options)Parameters
RECORD ARRAY headersRECORD toppartTop MIME message part
MACRO PTR receivefunctionFunction that receives the MIME headers line by line, without a \r\n termination
RECORD optionsOptions
rawheadersIf true, keep the headers as is (don't try to rewrite To, Subject, etc...)