1Palm::Mail(3) User Contributed Perl Documentation Palm::Mail(3)
2
3
4
6 Palm::Mail - Handler for Palm OS Mail databases
7
9 This document describes version 1.400 of Palm::Mail, released March 14,
10 2015 as part of Palm version 1.400.
11
13 use Palm::Mail;
14
16 The Mail PDB handler is a helper class for the Palm::PDB package. It
17 parses Mail databases.
18
19 AppInfo block
20 The AppInfo block begins with standard category support. See
21 Palm::StdAppInfo for details.
22
23 Other fields include:
24
25 $pdb->{appinfo}{sortOrder}
26 $pdb->{appinfo}{unsent}
27 $pdb->{appinfo}{sigOffset}
28
29 I don't know what these are.
30
31 Sort block
32 $pdb->{sort}
33
34 This is a scalar, the raw data of the sort block.
35
36 Records
37 $record = $pdb->{records}[N]
38
39 $record->{year}
40 $record->{month}
41 $record->{day}
42 $record->{hour}
43 $record->{minute}
44
45 The message's timestamp.
46
47 $record->{is_read}
48
49 This is defined and true iff the message has been read.
50
51 $record->{has_signature}
52
53 For outgoing messages, this is defined and true iff the message should
54 have a signature attached. The signature itself is stored in the "Saved
55 Preferences.prc" database, and is of type "mail" with ID 2.
56
57 $record->{confirm_read}
58
59 If this is defined and true, then the sender requests notification when
60 the message has been read.
61
62 $record->{confirm_delivery}
63
64 If this is defined and true, then the sender requests notification when
65 the message has been delivered.
66
67 $record->{priority}
68
69 An integer in the range 0-2, for high, normal, or low priority,
70 respectively.
71
72 $record->{addressing}
73
74 An integer in the range 0-2, indicating the addressing type: To, Cc, or
75 Bcc respectively. I don't know what this means.
76
77 $record->{subject}
78 $record->{from}
79 $record->{to}
80 $record->{cc}
81 $record->{bcc}
82 $record->{replyTo}
83 $record->{sentTo}
84
85 Strings, the various header fields.
86
87 $record->{body}
88
89 A string, the body of the message.
90
92 new
93 $pdb = new Palm::Mail;
94
95 Create a new PDB, initialized with the various Palm::Mail fields and an
96 empty record list.
97
98 Use this method if you're creating a Mail PDB from scratch.
99
100 new_Record
101 $record = $pdb->new_Record;
102
103 Creates a new Mail record, with blank values for all of the fields.
104
105 "new_Record" does not add the new record to $pdb. For that, you want
106 "$pdb->append_Record".
107
108 Note: the time given by the "year", "month", "day", "hour", and
109 "minute" fields in the new record are initialized to the time when the
110 record was created. They should be reset to the time when the message
111 was sent.
112
114 Palm::PDB
115
116 Palm::StdAppInfo
117
119 Palm::Mail requires no configuration files or environment variables.
120
122 None reported.
123
125 No bugs have been reported.
126
128 Andrew Arensburger "<arensb AT ooblick.com>"
129
130 Currently maintained by Christopher J. Madsen "<perl AT cjmweb.net>"
131
132 Please report any bugs or feature requests to
133 "<bug-Palm AT rt.cpan.org>" or through the web interface at
134 <http://rt.cpan.org/Public/Bug/Report.html?Queue=Palm>.
135
136 You can follow or contribute to p5-Palm's development at
137 <https://github.com/madsen/p5-Palm>.
138
140 This software is copyright (c) 2003 by Andrew Arensburger & Alessandro
141 Zummo.
142
143 This is free software; you can redistribute it and/or modify it under
144 the same terms as the Perl 5 programming language system itself.
145
147 BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
148 FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT
149 WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER
150 PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND,
151 EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
152 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
153 ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH
154 YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
155 NECESSARY SERVICING, REPAIR, OR CORRECTION.
156
157 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
158 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
159 REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENSE, BE LIABLE
160 TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR
161 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
162 SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
163 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
164 FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
165 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
166 DAMAGES.
167
168
169
170perl v5.32.0 2020-07-28 Palm::Mail(3)