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