Wt: Wt::Mail::Message::Header Class Reference

Wt 3.3.0

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Hierarchy
- Class Members

Public Member Functions
Wt::Mail::Message::Header Class Reference

An SMTP message header. More...

List of all members.

## Public Member Functions
| Header ()
| Default constructor.
| Header (const std::string &name, const std::string &value)
| Constructs a header with a given name and value.
| Header (const Header &other)
| Copy constructor.
void | setName (const std::string &name)
| Sets the header name.
const std::string & | name () const
| Returns the header name.
void | setValue (const std::string &value)
| Sets the header value.
const std::string & | value () const
| Returns the header value.

## Detailed Description

An SMTP message header.

An SMTP message header is a name/value pair, as defined by RFC 822.

## Member Function Documentation

const std::string& Wt::Mail::Message::Header::name | ( |  | ) | const

Returns the header name.

See also:
  setName()

const std::string& Wt::Mail::Message::Header::value | ( |  | ) | const

Returns the header value.

See also:
  setValue()

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator