Return the first header in the current message part.
This method returns a boolean value. If the method succeeds, the return value is true. If the method fails, the return value is false. To get extended error information, check the value of the LastError property.
The GetFirstHeader method allows an application to enumerate all of the headers in the current message part. If the current message part does not contain any header fields, this method will return false.
The current message part is returned by the Part property.
InternetMail Class | SocketTools Namespace