Catalyst Internet Mail .NET

InternetMail.DeleteHeader Method (String)

Delete a header field from the current message part.

[Visual Basic]
Overloads Public Function DeleteHeader( _
   ByVal headerName As String _
) As Boolean
[C#]
public bool DeleteHeader(
   string headerName
);

Parameters

headerName
A string which specifies the header field to delete from the current message part.

Return Value

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.

Remarks

The current message part is returned by the Part property.

See Also

InternetMail Class | SocketTools Namespace | InternetMail.DeleteHeader Overload List