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 headerRecord Array with the header (use DecodeHeader to get the it)
STRING field_String with the field to search for
Return value
STRINGString with the value belonging to the field, or an empty string if the requested header could not be found