Hunny Software Library Reference

EnvelopeData.To Property

Gets the addresses in the To header field.

[Visual Basic]
Public ReadOnly Property To As AddressData()
[C#]
public AddressData[] To {get;}

Property Value

The addresses in the To header field.

Remarks

The To header field may contain more than one email address. Therefore, this property's value is an array.

Each item in the array is an AddressData instance. The AddressData class has properties that contain the parsed elements of an email address.

The length of the array may be zero, which indicates that the To header field was empty or absent.

See Also

EnvelopeData Class | Hunny.Mail Namespace