InternetHeaders.Delete

From Xojo Documentation

Method

InternetHeaders.Delete(Name as String)

Supported for all project types and targets.

Deletes the specified header.

Example

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


Method

InternetHeaders.Delete(Name as String, Index as Integer)

Supported for all project types and targets.

Deletes the specified header.

Example

mail.Headers.Delete("X-Mailer", 0)