InternetHeaders.RemoveHeader

From Xojo Documentation

Revision as of 15:40, 7 October 2019 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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")