InternetHeaders.RemoveHeader

From Xojo Documentation

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

InternetHeaders.RemoveHeader(name as String, index as Integer = -1)

New in 2019r2

Supported for all project types and targets.

Removes the specified header.

Example

mail.Headers.RemoveHeader("X-Mailer")