1        Cone©
2
3MAIL::HEADER::PLAIN(3x) Cone: COnsole Newsreader And E MAIL::HEADER::PLAIN(3x)
4
5
6

NAME

8       mail::Header::plain - An unstructured, US-ASCII-only, E-mail header.
9

SYNOPSIS

11       #include <libmail/headers.H>
12
13       mail::Header::plain plain_header("Content-Type", "text/plain");
14
15       std::cout << plain_header.toString();
16
17

USAGE

19       This class creates an unstructured E-mail header. Two arguments are
20       provided to the constructor: the header's name, and its contents. The
21       header contents must contain only US-ASCII characters. Use the
22       mail::Header::encoded(3x) object to create a header containing
23       non-US-ASCII content.
24
25       The toString() returns the header as a single text string: “name:
26       value”. Long headers are folded at the nearest whitespace.
27

SEE ALSO

29       mail::Header::addresslist(3x), mail::Header::encoded(3x),
30       mail::Header::list(3x), mail::Header::mime(3x).
31

AUTHOR

33       Sam Varshavchik
34
35
36
37Cone©                             08/25/2016           MAIL::HEADER::PLAIN(3x)
Impressum