Home » Networking » Net_IMAP
Provides an implementation of the IMAP protocol
This package is unmaintained.
Download latest release 1.1.4 (there might be newer Composer installable version)
License: PHP License
Description
Provides an implementation of the IMAP4Rev1 protocol using PEAR's Net_Socket and the optional Auth_SASL class.
Maintainers
- Anish Mistry (amistry) — lead, active
- Sebastian Ebling (hudeldudel) — lead, active
- Damian Alejandro Fernandez Sosa (damian) — lead, inactive
Dependencies
Required
- PHP (>= 4.2)
- PEAR Installer (>= 1.4.0b1)
- Net_Socket (>= 1.0.8)
Optional
- Auth_SASL (>= 1.0.2)
Releases
- 1.1.4 (stable, 2024-03-10)
Release notes
License: PHP License
PR #5: Changed constructors for PHP 8 Support
- 1.1.3 (stable, 2014-03-31)
Release notes
License: PHP License
QA release
Bug #17482 Please, consider updating license to PHP 3.01 doconnor
Bug #19730 Malformed or incomplete distributed tar.gz file doconnor
Bug #19875 Please provide LICENSE file doconnor
Bug #19876 Bad role doconnor
Bug #19946 Login fails when using password with double quotes doconnor - 1.1.2 (stable, 2012-10-23)
- 1.1.1 (stable, 2012-01-02)
Release notes
License: PHP License
QA release
Bug #14566 Error in parsing protocol
Bug #16288 getMessagesList breaks if mailbox is empty
Bug #16819 IMAPProtocol::cmdStatus fails on error
Bug #16891 bug in IMAPProtocol.php
aka operator precedence error in _getNextToken
Bug #18599 Wrong result from getAnnotation() for folder with non-ascii characters
Bug #18768 failed to connect to Gmail (start TLS) - 1.1.0 (stable, 2009-04-02)
Release notes
License: PHP License
New stable release introducing new features and fixing a lot of bugs
- 1.1.0beta2 (beta, 2008-03-09)
- 1.1.0beta1 (beta, 2007-01-09)
Release notes
License: PHP License
new beta release fixing bugs and introducing new features
* bugfixing
* add STARTTLS support for PHP 5.1 and above
* added methods for manipulating message flags
* added support for fetching the mailbox status at once (getStatus)
* added support for fetching subparts and the headers of subparts
* added support for fetching the namespace
* added support for fetching the bodystructure
* added support for setting flags when appending messages
* added method for parsing image information - 1.0.3 (stable, 2004-09-25)
Release notes
License: PHP License
* Fixed bug #2379 (Yes it was a copy-paste bug!) Thanks to omicron at mighty dot co dot za
- 1.0.2 (stable, 2004-08-04)
- 1.0.1 (stable, 2004-06-26)
- 1.0.0 (stable, 2004-05-23)
Release notes
License: PHP License
* The package is marked as stable
* Fixed bug #1280
* Fixed a bug returning " , " when the password is not correct - 0.7.1 (beta, 2004-02-12)
Release notes
License: PHP License
* The parser was modified to parse any BODY[XXXXXX] response (not supported spaces in XXXXX yet) thanks to Richard Heyes for the tip
- 0.7 (beta, 2004-02-02)
- 0.6 (beta, 2003-07-20)
Release notes
License: PHP License
- Fixed bugs 24706 and 24707
- Fixed method listsubscribedMailboxes() and now works like getMailboxes()
- added hasFlag() method to allow th check any flag the IMAP server has
- Modified isDeleted,isDraft,isAnswered,isFlagged,isSeen methods to use hasFlag to not duplicate the code
- Removed duplicated method getHierarchyDelimiter() i have the same method in IMAP.php and IMAPProtocol.php but
in one class it is called getHierachyDelimiter and in the other getHierarchyDelimiter() (missed 'r' )
- Removed $_hierachyDelimiter variable (not needed anymore)
- Fixed cmdSetQuotaRoot now it can set both quotas storage and messages
- Reduced the class size by 10kbytes (IMAPProtocol.php)
- moved all redundant code to _genericCommand.
- Removed cmdUid() we don't need it anymore. - 0.5.1 (beta, 2003-07-14)
Release notes
License: PHP License
- Fix warning in login() where the imap server does not have any Auth method suported
- 0.5 (beta, 2003-07-12)
Release notes
License: PHP License
- new getHierachyDelimiter() method to find the character used to separate subfolder parts (cyrus uses '.' , wu-imapd uses '/')
- added a 3rd parameter to getMailboxes() to return an array with mailboxnames and mailbox attributes instead of an array of names
- new method getACLRights() to list the Rights any user has over a mailbox without been administrator (this is relative to the user's INBOX) - 0.4 (beta, 2003-04-27)
Release notes
License: PHP License
- new search() method
- new support for Message quotas (quotas for quantity of messages and not size)
- new getNumberOfRecentMessages() method
- new getNumberOfUnSeenMessages() method
- new getEnvelope() method
- new getSummary() method
- new Subscription related methods: unsubscribeMailbox(),listsubscribedMailboxes(),subscribeMailbox()
- updated Examples of use
- tested with Ipswitch Imail 6.06 IMAP Server
- tested with Cyrus Imapd 2.0.17 IMAP Server
- tested with uw-imapd IMAP Server
- minor fixes in protocol parser
- fix the parsing of rfc email in _getAddressList()
- changed appendMessage() to make the mailbox parameter optional
- changed copyMessages() method (the messages list can be now an array)
- workarround about getMailboxes() to allow work with wu-imapd- getSummary(), getMessages(),deleteMessages() can accept an array of numbers as msg_id to retrieve/delete msg_id that
are in the array (designed to use the search() output as parammeter.
For example: to delete all seen messages in current mailbox you can do:
$imap->DeleteMessages($imap->search("SEEN")); - 0.3 (beta, 2003-03-06)
Release notes
License: PHP License
- Fixed a lot of warnings and uninitialized variables(hope all of them)
- new getSummary method
- updated Examples of use
- tested with Ipswitch Imail 6.06 IMAP Server
- tested with Cyrus Imapd 2.0.17 IMAP Server
- tested with uw-imapd IMAP Server
- minor fixes in protocol parser
- changed appendMessage() to make the mailbox parameter optional
- added Subscription related methods: unsubscribeMailbox(),listsubscribedMailboxes(),subscribeMailbox()
- workarround about getMailboxes() to allow work with wu-imapd
- new search() method
- added support for Message quotas (quotas for quantity of messages and not size)
- getSummary(), getMessages(),deleteMessages() can accept an array of numbers as msg_id to retrieve/delete msg_id that
are in the array (designed to use the search() output as parammeter.
For example: to delete all seen messages in current mailbox you can do:
$imap->getDeleteMessages($imap->search("SEEN")); - 0.2 (beta, 2003-02-25)
Release notes
License: PHP License
- Ups I call require_once ./IMAPProtocol.php instead of require_once Net/IMAPProtocol.php sorry
- login method can authenticate with the following methods: DIGEST-MD4, CRAM-MD5, LOGIN and the login command
- A lot of new mailbox-related functions
- 2 Examples of use to the test directory
- fixes in protocol parser
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #55 | Closed | Bug | 2003-10-02 | Folder names containing extended characters or spaces | |
| #1280 | Closed | Bug | 2004-04-25 | Net_IMAP::connect() always returns a pear error | |
| #1568 | Closed | Bug | 2004-06-07 | Probleme in function cmdStatus | |
| #1772 | Closed | Req | 2004-07-02 | ANNOTATEMORE Extension Support | |
| #2028 | Closed | Bug | 2004-07-30 | in function cmdCapability() missplaced curly brace | |
| #2379 | Closed | Bug | 2004-09-23 | Unnecessary text in the cmdDeleteACL() function gives rise to PHP errors | |
| #2657 | No Feedback | Req | 2004-11-01 | cmdSetQuota does not allow to remove quota | |
| #2954 | Closed | Bug | 2004-12-12 | Incorrect parsing of MYRIGHTS response | |
| #2963 | Closed | Bug | 2004-12-13 | Update CVS | |
| #3438 | Closed | Bug | 2005-02-11 | disconnect() method generates PHP error | |
| #3638 | No Feedback | Bug | 2005-02-28 | function _getAddressList only returns one address even when multiple are there | |
| #6813 | No Feedback | Bug | 1.0.3 | 2006-02-17 | When string returned from cmdLogout() error is produced |
| #7289 | No Feedback | Bug | 1.0.3 | 2006-04-04 | Errors in parsing response |
| #7468 | Closed | Bug | 1.0.3 | 2006-04-24 | cmdAppend() adding \r\n to top of email msg |
| #7588 | Closed | Bug | 1.0.3 | 2006-05-09 | mailboxExist() returns false positives |
| #8066 | Closed | Bug | 1.0.3 | 2006-06-29 | must be a ' ' but is a ')' |
| #8220 | Closed | Bug | 1.0.3 | 2006-07-14 | Append Date and Flags and BODY.PEEK |
| #8677 | Closed | Req | CVS | 2006-09-11 | methods to manipulate message flags |
| #8715 | Closed | Req | CVS | 2006-09-15 | possibility to set key toupper at getParsedHeaders() |
| #8802 | Closed | Req | CVS | 2006-09-27 | improvement of cmdStatus |
| #9079 | Closed | Bug | 1.0.3 | 2006-10-18 | setAnnotation doesn't encode mailbox names |
| #9304 | Closed | Bug | 1.0.3 | 2006-11-10 | disconnect bug |
| #9598 | Closed | Bug | 2006-12-11 | various features and bugfixes add (big patch) | |
| #9647 | Closed | Bug | CVS | 2006-12-18 | Another bunch of small patches |
| #9929 | Closed | Req | 1.0.3 | 2007-01-23 | Echoing proto errors and others to the HTML Stream |
| #9979 | Closed | Bug | CVS | 2007-01-30 | cmdGetACL() fails to parse mailbox with no ACLs |
| #9986 | Closed | Bug | CVS | 2007-01-31 | getMailboxes() breaks RFC3501/2060 |
| #10509 | Closed | Bug | 1.1.0beta1 | 2007-03-26 | getStructure($msgid) lost content-part |
| #11725 | Closed | Bug | CVS | 2007-07-31 | Segmentation Fault when Fetching BodyStructure |
| #12189 | Closed | Bug | 1.1.0beta1 | 2007-10-05 | mail with ' and " in recipient |
| #13050 | Closed | Bug | 2008-02-02 | Fetching using getMessages with a UID fails | |
| #13070 | Bogus | Doc | 2008-02-05 | User note that is a documentation problem | |
| #13520 | Closed | Bug | 1.1.0beta2 | 2008-03-27 | Unused Variable Causing Notices |
| #13528 | Closed | Bug | CVS | 2008-03-28 | Missing Necessary Parenthesis |
| #13576 | Closed | Req | 1.1.0beta2 | 2008-04-03 | encoding |
| #13638 | Duplicate | Bug | 1.1.0beta2 | 2008-04-09 | getBody() prepends odd text string? |
| #14566 | Closed | Bug | 1.0.3 | 2008-08-26 | Error in parsing protocol |
| #16288 | Closed | Bug | 1.1.0 | 2009-06-04 | getMessagesList breaks if mailbox is empty |
| #16297 | Duplicate | Bug | 1.1.0 | 2009-06-06 | Last part in multipart mime ignored |
| #16527 | Duplicate | Bug | 1.1.0 | 2009-08-16 | missing parenthesis cause the last part of message to be parsed wrong |
| #16576 | No Feedback | Bug | 1.1.0 | 2009-09-07 | error in bad address header |
| #16819 | Closed | Bug | 1.1.0 | 2009-11-22 | IMAPProtocol::cmdStatus fails on error |
| #16891 | Closed | Bug | 1.1.0 | 2009-12-08 | bug in IMAPProtocol.php |
| #17071 | No Feedback | Req | 1.1.0 | 2010-02-06 | Cyrillic |
| #17482 | Closed | Doc | 1.1.0 | 2010-06-11 | Please, consider updating license to PHP 3.01 |
| #17483 | Duplicate | Doc | 1.1.0 | 2010-06-11 | Please, consider updating license to PHP 3.01 |
| #18060 | Duplicate | Bug | 1.1.0 | 2010-11-16 | operator precedence error in _getNextToken |
| #18319 | No Feedback | Bug | 1.1.0 | 2011-02-27 | infinite loop in function _arrayfyContent |
| #18599 | Closed | Bug | SVN | 2011-06-15 | Wrong result from getAnnotation() for folder with non-ascii characters |
| #18768 | Closed | Bug | 1.1.0 | 2011-08-30 | failed to connect to Gmail (start TLS) |
| #19240 | Closed | Bug | SVN | 2012-01-23 | Wrong error message in Net_IMAPProtocol::_genericCommand() |
| #19730 | Closed | Bug | 1.1.2 | 2012-12-05 | Malformed or incomplete distributed tar.gz file |
| #19865 | Open | Bug | 1.1.2 | 2013-03-20 | GetMSG function returns empty result towards gmail |
| #19875 | Closed | Req | 2013-03-29 | Please provide LICENSE file | |
| #19876 | Closed | Bug | 1.1.2 | 2013-03-29 | Bad role |
| #19946 | Closed | Bug | SVN | 2013-05-14 | Login fails when using password with double quotes |
| #19994 | Open | Bug | Unknown | 2013-06-26 | imap_fetchoverview |
| #19995 | Duplicate | Bug | Unknown | 2013-06-26 | imap_fetchoverview returns all the header fields but for message id |
| #20316 | Open | Req | 1.1.3 | 2014-06-26 | Would you consider changing the license to another BSD style license? |
| #20404 | Open | Bug | 1.1.3 | 2014-09-10 | getBodyPart method returns random empty results |
| #20502 | Open | Bug | 1.1.3 | 2015-02-17 | Net_IMAP doesn't handle "HIGHESTMODSEQ" |