1Mail(3)               User Contributed Perl Documentation              Mail(3)
2
3
4

NAME

6       Palm::Mail - Handler for Palm Mail databases.
7

SYNOPSIS

9           use Palm::Mail;
10

DESCRIPTION

12       The Mail PDB handler is a helper class for the Palm::PDB package. It
13       parses Mail databases.
14
15   AppInfo block
16       The AppInfo block begins with standard category support. See
17       Palm::StdAppInfo for details.
18
19       Other fields include:
20
21           $pdb->{appinfo}{sortOrder}
22           $pdb->{appinfo}{unsent}
23           $pdb->{appinfo}{sigOffset}
24
25       I don't know what these are.
26
27   Sort block
28           $pdb->{sort}
29
30       This is a scalar, the raw data of the sort block.
31
32   Records
33           $record = $pdb->{records}[N]
34
35           $record->{year}
36           $record->{month}
37           $record->{day}
38           $record->{hour}
39           $record->{minute}
40
41       The message's timestamp.
42
43           $record->{is_read}
44
45       This is defined and true iff the message has been read.
46
47           $record->{has_signature}
48
49       For outgoing messages, this is defined and true iff the message should
50       have a signature attached. The signature itself is stored in the "Saved
51       Preferences.prc" database, and is of type "mail" with ID 2.
52
53           $record->{confirm_read}
54
55       If this is defined and true, then the sender requests notification when
56       the message has been read.
57
58           $record->{confirm_delivery}
59
60       If this is defined and true, then the sender requests notification when
61       the message has been delivered.
62
63           $record->{priority}
64
65       An integer in the range 0-2, for high, normal, or low priority,
66       respectively.
67
68           $record->{addressing}
69
70       An integer in the range 0-2, indicating the addressing type: To, Cc, or
71       Bcc respectively. I don't know what this means.
72
73           $record->{subject}
74           $record->{from}
75           $record->{to}
76           $record->{cc}
77           $record->{bcc}
78           $record->{replyTo}
79           $record->{sentTo}
80
81       Strings, the various header fields.
82
83           $record->{body}
84
85       A string, the body of the message.
86

METHODS

88   new
89         $pdb = new Palm::Mail;
90
91       Create a new PDB, initialized with the various Palm::Mail fields and an
92       empty record list.
93
94       Use this method if you're creating a Mail PDB from scratch.
95
96   new_Record
97         $record = $pdb->new_Record;
98
99       Creates a new Mail record, with blank values for all of the fields.
100
101       "new_Record" does not add the new record to $pdb. For that, you want
102       "$pdb->append_Record".
103
104       Note: the time given by the "year", "month", "day", "hour", and
105       "minute" fields in the new record are initialized to the time when the
106       record was created. They should be reset to the time when the message
107       was sent.
108

SOURCE CONTROL

110       The source is in Github:
111
112               http://github.com/briandfoy/p5-Palm/tree/master
113

AUTHOR

115       Alessandro Zummo, "<a.zummo@towertech.it>"
116
117       Currently maintained by brian d foy, "<bdfoy@cpan.org>"
118

SEE ALSO

120       Palm::PDB(3)
121
122       Palm::StdAppInfo(3)
123
124
125
126perl v5.12.0                      2010-02-23                           Mail(3)
Impressum