InetPop3ParseMessageHeader
int InetPop3ParseMessageHeader (const char *header, const char *fieldName, char **fieldValue);
Purpose
Parses an email header for the specified field.
Parameters
Input | ||
Name | Type | Description |
header | const char * | The email header to parse. Pass the header value returned by the InetPop3GetMessage function. |
fieldName | const char * | The name of the field whose value you need. |
Output | ||
Name | Type | Description |
fieldValue | char * | The value of the field parsed from the header. Pass the address of a char* variable to hold the value. This function allocates memory for the value. You must discard this memory by calling InetFreeMemory. If the field is not present, the library sets this parameter to NULL. |
Return Value
Name | Type | Description |
result | int | Return value indicating whether the function was successful. A negative number indicates that an error occurred. |
Additional Information
Library: Internet Library
Include file: cvintwrk.h
LabWindows/CVI compatibility: LabWindows/CVI 7.1 and later