InternetHeaders.DeleteAllHeaders

From Xojo Documentation

Method

InternetHeaders.DeleteAllHeaders()

Supported for all project types and targets.

Deletes all headers.

Example

This example deletes all the headers.

Dim mail As New EmailMessage
mail.Headers.DeleteAllHeaders