1MAIL::ENVELOPE(3x)    Extra/Miscellaneous objects/methods   MAIL::ENVELOPE(3x)
2
3
4

NAME

6       mail::envelope - Message envelope information
7

SYNOPSIS

9       #include <libmail/envelope.H>
10
11       mail::envelope myEnvelope;
12

USAGE

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
23              an 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
27              to 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
31              to an 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  Refer‐
35              ences:  header.   references  is guaranteed to be filled in only
36              for an envelope representing the whole message.   references  of
37              message/rfc822 attachments may or may not be filled in.
38
39              references  is initialized by either the messageEnvelopeCallback
40              or the messageReferencesCallback method (depending on the under‐
41              lying account type) of mail::callback::message.
42
43       std::vector<mail::address> from
44              An array that lists the addresses in the message's From: header.
45              This array is empty if the header is not present.  If a  message
46              has  more  than  one  From:  header,  this  array  will list the
47              addresses from all headers, combined.
48
49       std::vector<mail::address> sender
50              An array that lists  the  addresses  in  the  message's  Sender:
51              header.  This array is empty if the header is not present.  If a
52              message has more than one Sender: header, this array  will  list
53              the addresses from all headers, combined.
54
55       std::vector<mail::address> replyto
56              An  array  that  lists  the addresses in the message's Reply-To:
57              header.  This array is empty if the header is not present.  If a
58              message has more than one Reply-To: header, this array will list
59              the addresses from all headers, combined.
60
61       std::vector<mail::address> to
62              An array that lists the addresses in the message's  To:  header.
63              This  array is empty if the header is not present.  If a message
64              has more than one To: header, this array will list the addresses
65              from all headers, combined.
66
67       std::vector<mail::address> cc
68              An  array  that lists the addresses in the message's Cc: header.
69              This array is empty if the header is not present.  If a  message
70              has more than one Cc: header, this array will list the addresses
71              from all headers, combined.
72
73       std::vector<mail::address> bcc
74              An array that lists the addresses in the message's Bcc:  header.
75              This  array is empty if the header is not present.  If a message
76              has more  than  one  Bcc:  header,  this  array  will  list  the
77              addresses from all headers, combined.
78

SEE ALSO

80       mail::address(3x), mail::mimestruct(3x), mail::account::getFolderIndex‐
81       Info(3x).
82
83
84
85                                 10 April 2006              MAIL::ENVELOPE(3x)
Impressum