InternetHeaders.CommaSeparatedValues

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
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
Var s As String
s = mail.Headers.CommaSeparatedValues("X-Mailer")