ews-cpp  0.9
Public Member Functions | List of all members
ews::internet_message_header Class Referencefinal

Represents an <InternetMessageHeader> property. More...

#include <ews.hpp>

Public Member Functions

 internet_message_header (std::string name, std::string value)
 Constructs a header filed with given values.
 
const std::string & get_name () const EWS_NOEXCEPT
 Returns the name of the header field.
 
const std::string & get_value () const EWS_NOEXCEPT
 Returns the value of the header field.
 

Detailed Description

Represents an <InternetMessageHeader> property.

An instance of this class describes a single name-value pair as it is found in a message's header, essentially as defined in RFC 5322 and it's former revisions.

Most standard fields are already covered by EWS properties (e.g., the destination address fields "To:", "Cc:", and "Bcc:"), however, because users are allowed to define custom header fields as the seem fit, you can directly access message headers.

See also
message::get_internet_message_headers

The documentation for this class was generated from the following file: