GetMIMEHeader (open)
This function will get the first occurance of a field from a MIME header
Syntax
LOADLIB "wh::internet/mime.whlib";
STRING FUNCTION GetMIMEHeader(RECORD ARRAY header, STRING field_)
Parameters
RECORD ARRAY header
Record Array with the header (use DecodeHeader to get the it)
STRING field_
String with the field to search for
Return value
STRING
String with the value belonging to the field, or an empty string if the requested header could not be found