Delete a header field from the specified 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.
A message part of zero specifies the main message part which contains the standard headers such as To, From and Subject. The number of message parts in the current message is returned by the PartCount property.
InternetMail Class | SocketTools Namespace | InternetMail.DeleteHeader Overload List