Commit graph

110 commits

Author SHA1 Message Date
centaurix
3b80127aaf integrated patch 403567 (from januar 2001 !!)
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.
2002-07-19 22:20:17 +00:00
jmunro
b7e8bbbbf9 rewrite of sqimap_read_data_list() see this for more info:
http://sourceforge.net/mailarchive/forum.php?thread_id=884872&forum_id=7139
2002-07-14 02:02:10 +00:00
stekkel
55488af3a1 UID support 2002-07-05 13:07:32 +00:00
philippe_mingo
f9cbd7d61d Some optimization on frequent loaded code.
Unification of logout error messages.
Strings update.
Spanish strings update.
2002-03-30 09:31:43 +00:00
indiri69
5efca09a45 Tons of formatting changes by Jon Tai.
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)".
2002-03-16 19:44:50 +00:00
indiri69
e9c6acd2f8 Fix IMAP PARSE reponse matching. This should get rid of retrival errors
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.
2002-03-16 04:23:22 +00:00
indiri69
95949406b0 Fixed a problem with sqimap_unseen_messages where some versions of UW
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.
2002-03-08 21:07:49 +00:00
simond
17f36392d0 Clear out tabs for proper spaces 2002-03-02 20:31:04 +00:00
simond
52cf1b1aba Fix filename 2002-02-25 18:29:56 +00:00
teepe
044df18388 fix of David Rees 2002-02-19 23:15:59 +00:00
thomppj
6773db3272 This is Philippe Mingo
Added query string to imap error
2002-02-09 23:11:10 +00:00
philippe_mingo
06a1bfb758 The module was not honoring some mails in uw, the problem was uw answering
* 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)
2002-02-09 15:06:29 +00:00
Thijs Kinkhorst
d338b160a0 Partially fixed #511204 2002-02-02 17:25:35 +00:00
Thijs Kinkhorst
95d386a18f Fixed display error in From-lines of the form: "Doe, John" <john@doe.org> 2002-01-28 23:10:35 +00:00
Thijs Kinkhorst
52716a0ed3 [ #500564 ] "" in From header causes empty From 2002-01-22 17:53:52 +00:00
teepe
5b2de098b6 comment typo 2002-01-19 15:41:50 +00:00
teepe
2b05fd40db last(?) icy fix 2002-01-19 15:38:20 +00:00
Bron Gondwana
7aff136d92 Remove leading spaces from IMAP commands, which was breaking Cyrus. This
is brittle behaviour from Cyrus, but covered by the spec, which does indeed
require once single 0x20 only.  My bad, or something.
2002-01-15 10:55:30 +00:00
Bron Gondwana
3b0a9e3935 Switch over to support for real IMAP sequence numbers (from A001 ->). Needed
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.
2002-01-12 11:37:40 +00:00
Bron Gondwana
f8d8561f8d This is a big one - fixes to sqimap_run_command in most uses. Had to add
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.
2002-01-12 11:15:12 +00:00
Bron Gondwana
fe30258212 Add function sqimap_run_command which combines sending and receiving a
message, ready for changes to other code which uses it.
2002-01-12 09:57:20 +00:00
teepe
70d15162d1 Applied a fix for some formatting issue with mail adresses in the
foo@bar.org ()
format. It was submitted by "Kurt Yoder" <kylist@shcorp.com>
2002-01-11 18:30:41 +00:00
antipode
0bf1c173c5 Updated documentation for sqimap_find_displayable_name() 2001-12-28 21:23:28 +00:00
antipode
7e3b895d92 Rewrote sqimap_find_displayable_name() to use regular expressions.
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.
2001-12-28 21:14:43 +00:00
antipode
76faf91d65 Saved four invocations to strpos() in sqimap_find_displayable_name()
(take 2) :^)
2001-12-28 18:47:42 +00:00
antipode
aeec82aaf2 Revert to 1.83 because of a bug in 1.84. 2001-12-28 17:03:55 +00:00
antipode
7cf8407193 Saved four invocations to strpos() in sqimap_find_displayable_name(). 2001-12-28 16:53:39 +00:00
philippe_mingo
479714062b Submitted By: Thijs Kinkhorst (kink)
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)
2001-12-28 16:09:55 +00:00
thomppj
1e2a9cc5d0 Getting ready for 1.2.0 release. 2001-12-23 07:42:40 +00:00
philippe_mingo
12913befb5 Sintax fix plus display_messages usage 2001-12-12 08:59:31 +00:00
philippe_mingo
48e8dba69f IMAP server error intercepted before PHP error. 2001-12-12 08:19:28 +00:00
thomppj
5d15361f1f Code cleanup brigage... 2001-12-02 09:33:02 +00:00
philippe_mingo
7808719aee Tyler: This is not very original but should do the trick 2001-11-30 18:38:21 +00:00
philippe_mingo
9d1cdf9457 Added a counter pref and a fix for the imapid 2001-11-28 19:48:30 +00:00
philippe_mingo
fad6c7dbcd Fixed login crash 2001-11-27 19:10:28 +00:00
philippe_mingo
da2f3297dd ** -> * 2001-11-26 19:33:28 +00:00
Tyler Akins
495b22fb6f Modified sqimap_session_id to return something when there is no session ID
yet.  This lets it work with the login_auth plugin.
2001-11-23 15:01:18 +00:00
philippe_mingo
d61b98077f Added (c) stuff and some formatting. 2001-11-21 18:38:12 +00:00
philippe_mingo
c3aed0d769 Some fixup:
- 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.
2001-11-20 20:08:28 +00:00
philippe_mingo
bf7a149680 Various fixes 2001-11-15 17:05:40 +00:00
Ondřej Surý
d350b9790e We have to know when there is attachment with size 0 and when there is no size ($size is set to -1 now). 2001-11-08 21:05:14 +00:00
thomppj
0e0192b790 Lots of changes to get closer to having save as draft working. Please, keep working hard on this!!! 2001-10-29 04:33:47 +00:00
philippe_mingo
c5eea2115b * Header rearranged
* Toggle all fixed for Konq
* Page selector now allows more customization
* Added default paramenter to get pref
2001-10-27 15:34:19 +00:00
philippe_mingo
ca1cc1a204 Use sqimap_session_id instead of axxxx for imap connections. 2001-10-04 14:31:57 +00:00
Tyler Akins
e7c6e05c6d Removed warning message with E_ALL 2001-09-13 00:30:28 +00:00
Tyler Akins
edbb3f92c5 Fixed a bug that would only appear with an obscenely long line in the email. 2001-08-01 14:40:07 +00:00
Tyler Akins
494397924d Fixed typo 2001-06-25 15:58:22 +00:00
Luke Ehresman
1a27b719ff Added IMAP speed imrpovements from the guys at XS4ALL 2001-06-22 15:52:06 +00:00
Tyler Akins
ba0e8688fe * Middle parameter wasn't used. 2001-05-07 13:57:52 +00:00
Tyler Akins
0d0de5d238 * Got bored and copied all the validate.php and define() stuff to 1.1
* 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)
2001-04-19 17:58:10 +00:00