| 1 |
lars |
1 |
a:17:{s:8:"provides";a:0:{}s:8:"filelist";a:5:{s:8:"IMAP.php";a:3:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:4:"Mail";s:12:"installed_as";s:28:"/usr/share/php/Mail/IMAP.php";}s:23:"examples/IMAP.inbox.php";a:3:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:4:"Mail";s:12:"installed_as";s:53:"/usr/share/php/docs/Mail_IMAP/examples/IMAP.inbox.php";}s:25:"examples/IMAP.message.php";a:3:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:4:"Mail";s:12:"installed_as";s:55:"/usr/share/php/docs/Mail_IMAP/examples/IMAP.message.php";}s:35:"examples/IMAP.connection_wizard.php";a:3:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:4:"Mail";s:12:"installed_as";s:65:"/usr/share/php/docs/Mail_IMAP/examples/IMAP.connection_wizard.php";}s:43:"examples/IMAP.connection_wizard_example.php";a:3:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:4:"Mail";s:12:"installed_as";s:73:"/usr/share/php/docs/Mail_IMAP/examples/IMAP.connection_wizard_example.php";}}s:10:"xsdversion";s:3:"1.0";s:7:"package";s:9:"Mail_IMAP";s:7:"summary";s:40:"Provides a c-client backend for webmail.";s:11:"description";s:757:"Mail_IMAP provides a simplified backend for working with the c-client (IMAP) extension. It serves as an OO wrapper for commonly used c-client functions. It provides structure and header parsing as well as body retrieval.
|
|
|
2 |
Mail_IMAP provides a simple inbox example that demonstrates its ability to parse and view simple and multipart email messages.
|
|
|
3 |
Mail_IMAP also provides a connection wizard to determine the correct protocol and port settings for a remote mail server, all you need to provide is a server, a username and a password.
|
|
|
4 |
Mail_IMAP may be used as a webmail backend or as a component in a mailing list manager.
|
|
|
5 |
This package requires the c-client extension. To download the latest version of the c-client extension goto: http://www.php.net/imap.
|
|
|
6 |
";s:11:"maintainers";a:1:{i:0;a:4:{s:6:"handle";s:5:"richy";s:4:"name";s:12:"Richard York";s:5:"email";s:22:"richy@smilingsouls.net";s:4:"role";s:4:"lead";}}s:7:"version";s:8:"1.1.0RC2";s:12:"release_date";s:10:"2004-06-29";s:15:"release_license";s:3:"PHP";s:13:"release_state";s:4:"beta";s:13:"release_notes";s:729:"Added $retreive_all argument to Mail_IMAP::getParts, this allows all
|
|
|
7 |
sub-attachments, inline parts, etc to be viewed at the top level.
|
|
|
8 |
Bug with error reporting in Mail_IMAP::getMailboxes
|
|
|
9 |
CS - Mail_IMAP::debug
|
|
|
10 |
NOTICE level errors coming from Mail_IMAP::getQuota
|
|
|
11 |
Patch to Mail_IMAP::getMailboxes applied.
|
|
|
12 |
Thanks to Matthew Schumacher for writing the original function and patch.
|
|
|
13 |
Debug functionality called automatically by $_GET method may now only be
|
|
|
14 |
called if MAIL_IMAP_ERROR_REPORTING == E_ALL.
|
|
|
15 |
Mail_IMAP::getMailboxInfo added, this method is automatically called by
|
|
|
16 |
Mail_IMAP::connect by default. Use MAIL_IMAP_NO_INFO in the $options
|
|
|
17 |
argument of Mail_IMAP::connect to turn this off.
|
|
|
18 |
Improved styling of IMAP.inbox.php example.";s:12:"release_deps";a:2:{i:1;a:3:{s:4:"type";s:3:"ext";s:3:"rel";s:3:"has";s:4:"name";s:4:"imap";}i:2;a:4:{s:4:"type";s:3:"pkg";s:3:"rel";s:3:"has";s:8:"optional";s:3:"yes";s:4:"name";s:7:"Net_URL";}}s:9:"changelog";a:15:{i:0;a:4:{s:7:"version";s:8:"1.1.0RC1";s:12:"release_date";s:10:"2004-05-09";s:13:"release_state";s:4:"beta";s:13:"release_notes";s:1774:"Bug #1350 multipart/related messages containing attachments not parsed correctly.
|
|
|
19 |
- Adjusted Mail_IMAP::_scanMultipart, Mail_IMAP::getDefaultPid,
|
|
|
20 |
Mail_IMAP::_checkIfParsed, added Mail_IMAP::_isMultipartRelated,
|
|
|
21 |
$defaultPid member variable (this is to cut back on calls to
|
|
|
22 |
Mail_IMAP::getDefaultPid).
|
|
|
23 |
Added debug functions. Debug functions can be called automatically if
|
|
|
24 |
using a URI abstraction.
|
|
|
25 |
Fallback pids added for Mail_IMAP::getBody, Mail_IMAP::getRawHeaders,
|
|
|
26 |
Mail_IMAP::getHeaders. Mail_IMAP::getBody will fallback on pid = '1'
|
|
|
27 |
or the first message part. Mail_IMAP::getRawHeaders and
|
|
|
28 |
Mail_IMAP::getHeaders will fallback on pid = '0', or the top-level
|
|
|
29 |
headers.
|
|
|
30 |
$option member variable added, replaces and deprecates various $options
|
|
|
31 |
arguments used in the various methods (All of these will be removed in 2.0.0).
|
|
|
32 |
Mail_IMAP::setOptions method added to set-up some default usages of optional
|
|
|
33 |
arguments.
|
|
|
34 |
Mail_IMAP::getRawHeaders now returns the headers by default and has a new
|
|
|
35 |
$rtn argument that toggles between returning the headers and not returning
|
|
|
36 |
them.
|
|
|
37 |
Mail_IMAP::getHeaders now returns the header array (no toggle here).
|
|
|
38 |
Expanded embedded docs.
|
|
|
39 |
Added $error_reporting argument to the constructor, this is used to
|
|
|
40 |
determine where hacks are being used which is useful for debugging.
|
|
|
41 |
Error text made more consistent.
|
|
|
42 |
Net_URL made an optional dependancy.
|
|
|
43 |
messageCount, removed call to imap_errors.
|
|
|
44 |
Added $this->mailboxInfo['host'] and Mail_IMAP::getMailboxes() which
|
|
|
45 |
wraps imap_list.
|
|
|
46 |
Fixed leading slash making its way into $this->mailboxInfo['folder'].
|
|
|
47 |
Mail_IMAP::getQuota now falls back on $this->mailboxInfo['folder'], if
|
|
|
48 |
a connection URI is used, uses 'INBOX' if no value is passed by argument
|
|
|
49 |
or no value is present for $this->mailboxInfo['folder'].";}i:1;a:4:{s:7:"version";s:8:"1.0.0RC4";s:12:"release_date";s:10:"2004-05-03";s:13:"release_state";s:4:"beta";s:13:"release_notes";s:1932:"This release addresses only bugs:
|
|
|
50 |
1.) Wrong $pidAdd value passed to Mail_IMAP::_scanMultipart
|
|
|
51 |
- Passed an incorrect value of '2' instead of '1'
|
|
|
52 |
2.) Wrong body selected when there is more than one inline text/plain,
|
|
|
53 |
text/html part. Mozilla mail, for instance, has a feature to
|
|
|
54 |
display all attachments in a message beneath the message in the
|
|
|
55 |
viewer. It sends mail along these lines as well adding a generic
|
|
|
56 |
attribute "flowed" in the parameters of a message.
|
|
|
57 |
Symptoms: Program picks whichever text/plain part is first, not
|
|
|
58 |
necessarily the correct one.
|
|
|
59 |
Solution: Message viewer should combine all multiple text/plain
|
|
|
60 |
inline parts into a single message.
|
|
|
61 |
Altered Mail_IMAP::_scanMultipart to select the proper part based
|
|
|
62 |
on whether a file name exists for the inline text/plain part.
|
|
|
63 |
3.) No fallback for default part id in Mail_IMAP::getDefaultPid a BC
|
|
|
64 |
breaking patch was introduced to cure this problem,
|
|
|
65 |
Mail_IMAP::getDefaultPid now always returns a part id, if the
|
|
|
66 |
application is unable to find a default part id, it will return
|
|
|
67 |
part id #1. (used to return FALSE if a default part id couldn't be
|
|
|
68 |
found) This prevents nasty bugs from suspect messages.
|
|
|
69 |
Symptoms: message does not contain either a text/plain or text/html
|
|
|
70 |
part.
|
|
|
71 |
Solution: Mail_IMAP::getDefaultPid now contains a fallback for the
|
|
|
72 |
first message part (pid #1) message viewer should look at the MIME
|
|
|
73 |
type and make adjustments accordingly.
|
|
|
74 |
4.) File names don't show up for inline attachments when a file name
|
|
|
75 |
exists. Altered Mail_IMAP::_declareParts to allow file names for
|
|
|
76 |
inline parts to be indexed when a file name exists.
|
|
|
77 |
5.) No default value for file names when one doesn't exist (now defaults
|
|
|
78 |
to empty string).
|
|
|
79 |
6.) Added a check of the existence of the subject header in the inbox
|
|
|
80 |
example file.
|
|
|
81 |
Thanks to Dmitry Arkhipov for providing bug reports and extensive testing.";}i:2;a:4:{s:7:"version";s:8:"1.0.0RC3";s:12:"release_date";s:10:"2004-04-17";s:13:"release_state";s:4:"beta";s:13:"release_notes";s:1932:"This release addresses only bugs:
|
|
|
82 |
1.) Wrong $pidAdd value passed to Mail_IMAP::_scanMultipart
|
|
|
83 |
- Passed an incorrect value of '2' instead of '1'
|
|
|
84 |
2.) Wrong body selected when there is more than one inline text/plain,
|
|
|
85 |
text/html part. Mozilla mail, for instance, has a feature to
|
|
|
86 |
display all attachments in a message beneath the message in the
|
|
|
87 |
viewer. It sends mail along these lines as well adding a generic
|
|
|
88 |
attribute "flowed" in the parameters of a message.
|
|
|
89 |
Symptoms: Program picks whichever text/plain part is first, not
|
|
|
90 |
necessarily the correct one.
|
|
|
91 |
Solution: Message viewer should combine all multiple text/plain
|
|
|
92 |
inline parts into a single message.
|
|
|
93 |
Altered Mail_IMAP::_scanMultipart to select the proper part based
|
|
|
94 |
on whether a file name exists for the inline text/plain part.
|
|
|
95 |
3.) No fallback for default part id in Mail_IMAP::getDefaultPid a BC
|
|
|
96 |
breaking patch was introduced to cure this problem,
|
|
|
97 |
Mail_IMAP::getDefaultPid now always returns a part id, if the
|
|
|
98 |
application is unable to find a default part id, it will return
|
|
|
99 |
part id #1. (used to return FALSE if a default part id couldn't be
|
|
|
100 |
found) This prevents nasty bugs from suspect messages.
|
|
|
101 |
Symptoms: message does not contain either a text/plain or text/html
|
|
|
102 |
part.
|
|
|
103 |
Solution: Mail_IMAP::getDefaultPid now contains a fallback for the
|
|
|
104 |
first message part (pid #1) message viewer should look at the MIME
|
|
|
105 |
type and make adjustments accordingly.
|
|
|
106 |
4.) File names don't show up for inline attachments when a file name
|
|
|
107 |
exists. Altered Mail_IMAP::_declareParts to allow file names for
|
|
|
108 |
inline parts to be indexed when a file name exists.
|
|
|
109 |
5.) No default value for file names when one doesn't exist (now defaults
|
|
|
110 |
to empty string).
|
|
|
111 |
6.) Added a check of the existence of the subject header in the inbox
|
|
|
112 |
example file.
|
|
|
113 |
Thanks to Dmitry Arkhipov for providing bug reports and extensive testing.";}i:3;a:4:{s:7:"version";s:8:"1.0.0RC2";s:12:"release_date";s:10:"2004-04-14";s:13:"release_state";s:4:"beta";s:13:"release_notes";s:505:"Updated message parsing algorithms to accept double digit part ids addressing
|
|
|
114 |
the first major bug reported in the program.
|
|
|
115 |
This bug affected:
|
|
|
116 |
Mail_IMAP::_scanMultipart
|
|
|
117 |
Mail_IMAP::getDefaultPid
|
|
|
118 |
Mail_IMAP::_defaultHeaderPid
|
|
|
119 |
Altered Mail_IMAP::delete to accept either an array of message ids instead or
|
|
|
120 |
a single string. Added an optional separator argument for any errors returned
|
|
|
121 |
by imap_delete when using an array.
|
|
|
122 |
Altered Mail_IMAP::extractMIME to accept either an array of MIME types or
|
|
|
123 |
a single string.";}i:4;a:4:{s:7:"version";s:8:"1.0.0RC1";s:12:"release_date";s:10:"2004-04-08";s:13:"release_state";s:4:"beta";s:13:"release_notes";s:680:"Added $mailboxInfo member variable, which stores various information about
|
|
|
124 |
the current mailbox. As of its implementation it only stores user and folder
|
|
|
125 |
information gathered from the URI abstraction, if one is being used. This
|
|
|
126 |
variable could be expanded in the future to contain more mailbox specific
|
|
|
127 |
information.
|
|
|
128 |
Cleaned up and expanded example files, IMAP.inbox.php and IMAP.message.php.
|
|
|
129 |
Example files now check for "read" flags in webmail demonstration.
|
|
|
130 |
Minor edits to the documentation.
|
|
|
131 |
Fixed missing `empty` in getQuota method.
|
|
|
132 |
MAIL_IMAP_CLEAR_FLAGS option added for setFlags() method, new constant toggles
|
|
|
133 |
flag operation to imap_clearflag_full instead of imap_setflag_full.";}i:5;a:4:{s:7:"version";s:6:"0.3.0A";s:12:"release_date";s:10:"2004-03-12";s:13:"release_state";s:5:"alpha";s:13:"release_notes";s:1314:"Expanded API -- new methods and functionality.. however BC
|
|
|
134 |
has been preserved.
|
|
|
135 |
Added getQuota() and setFlags() methods.
|
|
|
136 |
Private methods added to simplify the class.
|
|
|
137 |
Added _checkIfParsed() method.
|
|
|
138 |
Added _scanMultipart() method -- which reduced the file size slightly
|
|
|
139 |
and merged/centralized most of the parsing mechanism for body retrieval and
|
|
|
140 |
inline/attach member variable creating.
|
|
|
141 |
Rearranged some code for logic and preformance.
|
|
|
142 |
Added a count check of parts in getParts() method to automatically return
|
|
|
143 |
if there is only one message part.
|
|
|
144 |
Net_URL removed as a prequisite -- This is only required if the user
|
|
|
145 |
isn't supplying an already established IMAP stream. (Class is now
|
|
|
146 |
included in the connect() method). This ought to reduce the memory
|
|
|
147 |
footprint for those forming the IMAP Stream and passing it to the class.
|
|
|
148 |
If using a URI abstraction or connection wizard, Net_URL is required.
|
|
|
149 |
(Since Net_URL could be used, it remains in the dependencies list)
|
|
|
150 |
Added check of resource passed to constructor, to verify it an imap stream.
|
|
|
151 |
Optional $seperator argument added for errors() and alerts() methods to
|
|
|
152 |
eliminate HTML if the user doesn't want HTML.
|
|
|
153 |
Package now tested with IMAP and POP3 protocols. (NNTP testing still
|
|
|
154 |
needed).
|
|
|
155 |
This release should be relatively stable.
|
|
|
156 |
Beta release should be just around the corner!";}i:6;a:4:{s:7:"version";s:6:"0.2.0A";s:12:"release_date";s:10:"2004-03-01";s:13:"release_state";s:5:"alpha";s:13:"release_notes";s:799:"Made part finders truly reversable, specify a text/plain part by
|
|
|
157 |
default, if none is found, tries to find a text/html part instead.. and vise versa.
|
|
|
158 |
Still looks for a text/html part by default. Minor API changes, $attempt
|
|
|
159 |
argument added to getDefaultPid and getBody methods BC not broken, as these arguments are
|
|
|
160 |
used internally.
|
|
|
161 |
Minor improvements to CS.
|
|
|
162 |
Minor corrections to documentation.
|
|
|
163 |
MAIL_IMAP_LITERAL_DECODE option added for getBody() $action argument.
|
|
|
164 |
extractMIME method added, allows the user to specify a specific MIME type
|
|
|
165 |
to search for, method will return an associative array containing all PIDs
|
|
|
166 |
found for that MIME type. PIDs can then be supplied to getBody with
|
|
|
167 |
$action = MAIL_IMAP_LITERAL_DECODE to retrieve specific parts.
|
|
|
168 |
Not much testing on this release so please report bugs!";}i:7;a:4:{s:7:"version";s:6:"0.1.7A";s:12:"release_date";s:10:"2004-02-29";s:13:"release_state";s:5:"alpha";s:13:"release_notes";s:228:"Fixed bug in linking from IMAP.inbox.php example to IMAP.message.php example.
|
|
|
169 |
(Forgot to update in 0.1.6A with file name change.)
|
|
|
170 |
Updated description.
|
|
|
171 |
Fixed bug #923, examples installed to wrong directory.
|
|
|
172 |
Updated documentation.";}i:8;a:4:{s:7:"version";s:6:"0.1.6A";s:12:"release_date";s:10:"2004-02-27";s:13:"release_state";s:5:"alpha";s:13:"release_notes";s:38:"Fixed bug #921, Install path is wrong.";}i:9;a:4:{s:7:"version";s:6:"0.1.5A";s:12:"release_date";s:10:"2004-02-26";s:13:"release_state";s:5:"alpha";s:13:"release_notes";s:192:"Fixed bug in tls specification of URI abstraction.
|
|
|
173 |
Fixed bug in default header pid selector. Deep search for header pid could result in infinite loop.
|
|
|
174 |
Added potential bug information to docs.";}i:10;a:4:{s:7:"version";s:6:"0.1.4A";s:12:"release_date";s:10:"2004-02-12";s:13:"release_state";s:5:"alpha";s:13:"release_notes";s:36:"Fixed relative paths, example files.";}i:11;a:4:{s:7:"version";s:6:"0.1.3A";s:12:"release_date";s:10:"2004-02-11";s:13:"release_state";s:5:"alpha";s:13:"release_notes";s:90:"Added Mail_IMAP connection wizard for auto-detecting of URI to pass to Mail_IMAP::connect.";}i:12;a:4:{s:7:"version";s:6:"0.1.2A";s:12:"release_date";s:10:"2004-02-11";s:13:"release_state";s:5:"alpha";s:13:"release_notes";s:23:"Modified header parser.";}i:13;a:4:{s:7:"version";s:6:"0.1.1A";s:12:"release_date";s:10:"2004-02-11";s:13:"release_state";s:5:"alpha";s:13:"release_notes";s:30:"Added URI abstraction support.";}i:14;a:4:{s:7:"version";s:6:"0.1.0A";s:12:"release_date";s:10:"2004-02-10";s:13:"release_state";s:5:"alpha";s:13:"release_notes";s:14:"First release.";}}s:12:"_lastversion";N;s:7:"dirtree";a:3:{s:19:"/usr/share/php/Mail";b:1;s:38:"/usr/share/php/docs/Mail_IMAP/examples";b:1;s:29:"/usr/share/php/docs/Mail_IMAP";b:1;}s:13:"_lastmodified";i:1261489967;}
|