Gets the field body of the specified header field.
A reference to the FieldBody for the specified field.
If the header field does not exist, the method creates it. You
may call HasField() to test if the header
field exists without creating it.
For most standard structured header fields, Headers
provides convenience properties for directly accessing those
fields. For example, to access the To header field, you may
get the To property, which returns an AddressList object. You may call FieldBody() to access the field body of unstructured
header fields or less common header fields.
Headers Class | Hunny.Mime Namespace