it enables sysadmins to specify a function in $imap_server_address.
This function gets the users imapserver. There is an example function map_yp_alias that gets the server from yellowpages (NIS)
thanks to karenb@cc.gatech.edu.
Didn't merge changes to imap_search.php, as I wanted to take a
closer look at it.
Jon Tai said:
I cleaned up the four imap_*.php files - fixed comments so they use the
/* */ style, fixed spacings, added { } around logic blocks that didn't
have them, etc.
I also hacked sqimap_find_email() in imap_general.php to support strings
in the form of "lehresma@css.tayloru.edu (Luke Ehresman)".
with Missing parameters and those stupid <Undisclosed-Recipient:;> To:
lines that UW IMAP chokes on from Outlook Express.
Also changed some ereg to preg and removed some useless spacing.
Imap will send 2 lines of response on a STATUS mailbox (UNSEEN) when
the last EXAMINE was on the same mailbox. This kept the INBOX from
displaying the number of unread messages. This seems like valid behaviour
to me, but UW IMAP doesn't like it depending on how it's been compiled.
* OK [PARSE] Missing parameter
This commit pretends to fix this, but I confess I'm not happy with
the way I did it. I would be happy if someone improve it 8)
to fix my own function to only call sqimap_session_id() once!
Note: the old API is still there in its entirity, this is just another way to
call things. With the changing sequence numbers though, any function working
with sqimap_session_id() must cache the result for testing against the
response of any command sent.
sqimap_run_command_list as well for those list instances.
I believe that it's now safe for sqimap_session_id() to return a different
ID each time, but haven't yet tested this.
The parsing of the email address is far from perfect, and the regular
expressions need to be improved. This version of the function is
equivallent in functionality to the previous one.
Assigned to: Nobody/Anonymous (nobody)
Summary: Nice display of "em@ail.com (Real Name)"
Initial Comment:
This patch adds nicer display for From lines in the format:
john@doe.com (John Doe)
- Operation foo_once step 2 (and final)
- Create folders bugfix
- None folder bugfix
- Fixed some tabs, structs etc.
- Added some (c) stuff
- Removed some debug stuff
This changes should result in a faster SM.
* Cleaned up some code
* Fixed some typos
* Added a few files (documentation, translations)
* EAGERLY awaiting 1.1 to come out
* Made all global stuff "global $varname" so the new define() method we use
will work properly (methinks)