Email :: headerAttribute - Header attribute
An Email header may contain a number of attributes identified by name. Each header attribute is defined on a single line (simple case) starting with the attribute name followed by the attribute value:
attr_name : attr_value \r\n
The headerAttribute property allows accessing single header attributes.
Implementation overview
- Get header attribute
Email :: headerAttribute ( sName ) - Set header attribute
Email :: headerAttribute ( sName, sValue )
Implementation details
-
Get header attribute
odaba::String Email  :: headerAttribute ( odaba::String &sName )
The function returns the current header attribute value for the attribute passed in sName . If no such attribute exists, the function returns an empty string, which may also correspond to an empty header attribute.
- sName - Name
to list
-
Set header attribute
odaba::String Email  :: headerAttribute ( odaba::String &sName, odaba::String &sValue )
The function sets the header attribute value for the attribute passed in sName to the value passed in sValue . If no such attribute exists, it will be created. Otherwise, the existing attribute value will be replaced.
- sName - Name
- sValue - String value
to list