1MAIL::ENVELOPE(3x) Cone: COnsole Newsreader And E MAIL::ENVELOPE(3x)
2
3
4
6 mail::envelope - Message envelope information
7
9 #include <libmail/envelope.H>
10
11 mail::envelope myEnvelope;
12
14 mail::envelope describes the message´s "envelope", and contains the
15 following fields:
16
17 time_t date
18 The contents of the message´s Date: header, or 0 if the message
19 does not have the Date: header.
20
21 std::string subject
22 The contents of the message´s Subject: header. This is set to an
23 empty string if the header is not present.
24
25 std::string inreplyto
26 The contents of the message´s In-Reply-To: header. This is set to
27 an empty string if the header is not present.
28
29 std::string messageid
30 The contents of the message´s Message-ID: header. This is set to an
31 empty string if the header is not present.
32
33 std::vector <std::string> references
34 An array (possibly empty) of message IDs taken from the References:
35 header. references is guaranteed to be filled in only for an
36 envelope representing the whole message. references of
37 message/rfc822 attachments may or may not be filled in.
38
39
40 references is initialized by either the messageEnvelopeCallback or
41 the messageReferencesCallback method (depending on the underlying
42 account type) of mail::callback::message.
43
44 std::vector<mail::address> from
45 An array that lists the addresses in the message´s From: header.
46 This array is empty if the header is not present. If a message has
47 more than one From: header, this array will list the addresses from
48 all headers, combined.
49
50 std::vector<mail::address> sender
51 An array that lists the addresses in the message´s Sender: header.
52 This array is empty if the header is not present. If a message has
53 more than one Sender: header, this array will list the addresses
54 from all headers, combined.
55
56 std::vector<mail::address> replyto
57 An array that lists the addresses in the message´s Reply-To:
58 header. This array is empty if the header is not present. If a
59 message has more than one Reply-To: header, this array will list
60 the addresses from all headers, combined.
61
62 std::vector<mail::address> to
63 An array that lists the addresses in the message´s To: header. This
64 array is empty if the header is not present. If a message has more
65 than one To: header, this array will list the addresses from all
66 headers, combined.
67
68 std::vector<mail::address> cc
69 An array that lists the addresses in the message´s Cc: header. This
70 array is empty if the header is not present. If a message has more
71 than one Cc: header, this array will list the addresses from all
72 headers, combined.
73
74 std::vector<mail::address> bcc
75 An array that lists the addresses in the message´s Bcc: header.
76 This array is empty if the header is not present. If a message has
77 more than one Bcc: header, this array will list the addresses from
78 all headers, combined.
79
81 mail::address(3x), mail::mimestruct(3x),
82 mail::account::getFolderIndexInfo(3x).
83
84
85
86[FIXME: source] 05/08/2010 MAIL::ENVELOPE(3x)