http://pear.php.net/
pear-webmaster@lists.php.netpear-webmaster@lists.php.neten-usLatest releases of mail_imapThe latest releases for the package mail_imapMail_IMAP 1.1.0RC2
http://pear.php.net/package/Mail_IMAP/download/1.1.0RC2/
Added $retreive_all argument to Mail_IMAP::getParts, this allows all<br />
sub-attachments, inline parts, etc to be viewed at the top level.<br />
Bug with error reporting in Mail_IMAP::getMailboxes<br />
CS - Mail_IMAP::debug<br />
NOTICE level errors coming from Mail_IMAP::getQuota<br />
Patch to Mail_IMAP::getMailboxes applied.<br />
Thanks to Matthew Schumacher for writing the original function and patch.<br />
Debug functionality called automatically by $_GET method may now only be<br />
called if MAIL_IMAP_ERROR_REPORTING == E_ALL.<br />
Mail_IMAP::getMailboxInfo added, this method is automatically called by<br />
Mail_IMAP::connect by default. Use MAIL_IMAP_NO_INFO in the $options<br />
argument of Mail_IMAP::connect to turn this off.<br />
Improved styling of IMAP.inbox.php example.
2004-06-29T02:03:24-05:00richyMail_IMAP 1.1.0RC1
http://pear.php.net/package/Mail_IMAP/download/1.1.0RC1/
Bug #1350 multipart/related messages containing attachments not parsed correctly.<br />
- Adjusted Mail_IMAP::_scanMultipart, Mail_IMAP::getDefaultPid,<br />
Mail_IMAP::_checkIfParsed, added Mail_IMAP::_isMultipartRelated,<br />
$defaultPid member variable (this is to cut back on calls to<br />
Mail_IMAP::getDefaultPid).<br />
Added debug functions. Debug functions can be called automatically if<br />
using a URI abstraction.<br />
Fallback pids added for Mail_IMAP::getBody, Mail_IMAP::getRawHeaders,<br />
Mail_IMAP::getHeaders. Mail_IMAP::getBody will fallback on pid = '1'<br />
or the first message part. Mail_IMAP::getRawHeaders and<br />
Mail_IMAP::getHeaders will fallback on pid = '0', or the top-level<br />
headers.<br />
$option member variable added, replaces and deprecates various $options<br />
arguments used in the various methods (All of these will be removed in 2.0.0).<br />
Mail_IMAP::setOptions method added to set-up some default usages of optional<br />
arguments.<br />
Mail_IMAP::getRawHeaders now returns the headers by default and has a new<br />
$rtn argument that toggles between returning the headers and not returning<br />
them.<br />
Mail_IMAP::getHeaders now returns the header array (no toggle here).<br />
Expanded embedded docs.<br />
Added $error_reporting argument to the constructor, this is used to<br />
determine where hacks are being used which is useful for debugging.<br />
Error text made more consistent.<br />
Net_URL made an optional dependancy.<br />
messageCount, removed call to imap_errors.<br />
Added $this->mailboxInfo['host'] and Mail_IMAP::getMailboxes() which<br />
wraps imap_list.<br />
Fixed leading slash making its way into $this->mailboxInfo['folder'].<br />
Mail_IMAP::getQuota now falls back on $this->mailboxInfo['folder'], if<br />
a connection URI is used, uses 'INBOX' if no value is passed by argument<br />
or no value is present for $this->mailboxInfo['folder'].
2004-05-09T11:03:07-05:00richyMail_IMAP 1.0.0RC4
http://pear.php.net/package/Mail_IMAP/download/1.0.0RC4/
This release addresses only bugs:<br />
2.) Bug in assignment of CID in Mail_IMAP::_declareParts, the member
2004-05-03T07:29:36-05:00richyMail_IMAP 1.0.0RC3
http://pear.php.net/package/Mail_IMAP/download/1.0.0RC3/
This release addresses only bugs:<br />
1.) Wrong $pidAdd value passed to Mail_IMAP::_scanMultipart<br />
- Passed an incorrect value of '2' instead of '1'<br />
2.) Wrong body selected when there is more than one inline text/plain,<br />
text/html part. Mozilla mail, for instance, has a feature to<br />
display all attachments in a message beneath the message in the<br />
viewer. It sends mail along these lines as well adding a generic<br />
attribute "flowed" in the parameters of a message.<br />
Symptoms: Program picks whichever text/plain part is first, not<br />
necessarily the correct one.<br />
Solution: Message viewer should combine all multiple text/plain<br />
inline parts into a single message.<br />
Altered Mail_IMAP::_scanMultipart to select the proper part based<br />
on whether a file name exists for the inline text/plain part.<br />
3.) No fallback for default part id in Mail_IMAP::getDefaultPid a BC<br />
breaking patch was introduced to cure this problem,<br />
Mail_IMAP::getDefaultPid now always returns a part id, if the<br />
application is unable to find a default part id, it will return<br />
part id #1. (used to return FALSE if a default part id couldn't be<br />
found) This prevents nasty bugs from suspect messages.<br />
Symptoms: message does not contain either a text/plain or text/html<br />
part.<br />
Solution: Mail_IMAP::getDefaultPid now contains a fallback for the<br />
first message part (pid #1) message viewer should look at the MIME<br />
type and make adjustments accordingly.<br />
4.) File names don't show up for inline attachments when a file name<br />
exists. Altered Mail_IMAP::_declareParts to allow file names for<br />
inline parts to be indexed when a file name exists.<br />
5.) No default value for file names when one doesn't exist (now defaults<br />
to empty string).<br />
6.) Added a check of the existence of the subject header in the inbox<br />
example file.<br />
Thanks to Dmitry Arkhipov for providing bug reports and extensive testing.
2004-04-17T04:47:45-05:00richyMail_IMAP 1.0.0RC2
http://pear.php.net/package/Mail_IMAP/download/1.0.0RC2/
Updated message parsing algorithms to accept double digit part ids addressing<br />
the first major bug reported in the program.<br />
This bug affected:<br />
Mail_IMAP::_scanMultipart<br />
Mail_IMAP::getDefaultPid<br />
Mail_IMAP::_defaultHeaderPid<br />
Altered Mail_IMAP::delete to accept either an array of message ids instead or<br />
a single string. Added an optional separator argument for any errors returned<br />
by imap_delete when using an array.<br />
Altered Mail_IMAP::extractMIME to accept either an array of MIME types or<br />
a single string.
2004-04-14T04:24:16-05:00richyMail_IMAP 1.0.0RC1
http://pear.php.net/package/Mail_IMAP/download/1.0.0RC1/
Added $mailboxInfo member variable, which stores various information about<br />
the current mailbox. As of its implementation it only stores user and folder<br />
information gathered from the URI abstraction, if one is being used. This<br />
variable could be expanded in the future to contain more mailbox specific<br />
information.<br />
Cleaned up and expanded example files, IMAP.inbox.php and IMAP.message.php.<br />
Example files now check for "read" flags in webmail demonstration.<br />
Minor edits to the documentation.<br />
Fixed missing `empty` in getQuota method.<br />
MAIL_IMAP_CLEAR_FLAGS option added for setFlags() method, new constant toggles<br />
flag operation to imap_clearflag_full instead of imap_setflag_full.
2004-04-08T07:33:03-05:00richyMail_IMAP 0.3.0A
http://pear.php.net/package/Mail_IMAP/download/0.3.0A/
Expanded API -- new methods and functionality.. however BC<br />
has been preserved.<br />
Added getQuota() and setFlags() methods.<br />
Private methods added to simplify the class.<br />
Added _checkIfParsed() method.<br />
Added _scanMultipart() method -- which reduced the file size slightly<br />
and merged/centralized most of the parsing mechanism for body retrieval and<br />
inline/attach member variable creating.<br />
Rearranged some code for logic and preformance.<br />
Added a count check of parts in getParts() method to automatically return<br />
if there is only one message part.<br />
Net_URL removed as a prequisite -- This is only required if the user<br />
isn't supplying an already established IMAP stream. (Class is now<br />
included in the connect() method). This ought to reduce the memory<br />
footprint for those forming the IMAP Stream and passing it to the class.<br />
If using a URI abstraction or connection wizard, Net_URL is required.<br />
(Since Net_URL could be used, it remains in the dependencies list)<br />
Added check of resource passed to constructor, to verify it an imap stream.<br />
Optional $seperator argument added for errors() and alerts() methods to<br />
eliminate HTML if the user doesn't want HTML.<br />
Package now tested with IMAP and POP3 protocols. (NNTP testing still<br />
needed).<br />
This release should be relatively stable.<br />
Beta release should be just around the corner!
2004-03-12T19:44:10-05:00richyMail_IMAP 0.2.0A
http://pear.php.net/package/Mail_IMAP/download/0.2.0A/
Made part finders truly reversable, specify a text/plain part by<br />
default, if none is found, tries to find a text/html part instead.. and vise versa.<br />
Still looks for a text/html part by default. Minor API changes, $attempt<br />
argument added to getDefaultPid and getBody methods BC not broken, as these arguments are<br />
used internally.<br />
Minor improvements to CS.<br />
Minor corrections to documentation.<br />
MAIL_IMAP_LITERAL_DECODE option added for getBody() $action argument.<br />
extractMIME method added, allows the user to specify a specific MIME type<br />
to search for, method will return an associative array containing all PIDs<br />
found for that MIME type. PIDs can then be supplied to getBody with<br />
$action = MAIL_IMAP_LITERAL_DECODE to retrieve specific parts.<br />
Not much testing on this release so please report bugs!
2004-03-01T19:51:22-05:00richyMail_IMAP 0.1.7A
http://pear.php.net/package/Mail_IMAP/download/0.1.7A/
Fixed bug in linking from IMAP.inbox.php example to IMAP.message.php example.<br />
(Forgot to update in 0.1.6A with file name change.)<br />
Updated description.
2004-02-29T19:09:09-05:00richyMail_IMAP 0.1.6A
http://pear.php.net/package/Mail_IMAP/download/0.1.6A/
Fixed bug #921, Install path is wrong.
2004-02-27T18:40:51-05:00richy