Method

InternetHeaders.Value


Warning

This item was deprecated in version 2019r2. Please use InternetHeaders.ValueAt as a replacement.

Description

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

Sample code

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

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

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

Compatibility

All project types on all supported operating systems.