InternetHeaders.CommaSeparatedValues

From Xojo Documentation

Method

InternetHeaders.CommaSeparatedValues(Name as String) As String

Supported for all project types and targets.

Returns the Value of the header corresponding to the passed Name.

Example

The following example returns the value of the "X-Mailer" header.

// mail is an EmailMessage
Dim s As String
s = mail.Headers.CommaSeparatedValues("X-Mailer")