Method

InternetHeaders.DeleteAllHeaders


Warning

This item was deprecated in version 2019r2. Please use InternetHeaders.RemoveAllHeaders as a replacement.

Description

Deletes all headers.

Sample code

This example deletes all the headers.

Dim mail As New EmailMessage
mail.Headers.DeleteAllHeaders

Compatibility

All project types on all supported operating systems.