InternetHeaders.Value

From Xojo Documentation

Method

InternetHeaders.Value(Name as String) As String

Supported for all project types and targets.

Returns a String containing the value of the specified header.

Example

Var s As String
s = mail.Headers.Value("X-Mailer")


Method

InternetHeaders.Value(Index as Integer) As String

Supported for all project types and targets.

Returns a String containing the value of the specified header.

Example

Var s As String
s = mail.Headers.Value(1)


Method

InternetHeaders.Value(Name as String,Index as Integer) As String

Supported for all project types and targets.

Returns a String containing the value of the specified header. More than one header can have the same name.

Example

Var s As String
s = mail.Headers.Value("X-Mailer", 1)