InternetHeaders.RemoveAllHeaders

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
Method

InternetHeaders.RemoveAllHeaders()

New in 2019r2

Supported for all project types and targets.

Removes all headers.

Example

This example removes all the headers.

Var mail As New EmailMessage
mail.Headers.RemoveAllHeaders