stekkel
5a36559d1b
DO NOT buffer base64 encoded attachments before we decode them. Instead
...
decode them directly after we retrieved the data from the imapserver and
echo te result. This will safe a lot of memmory usage :)
2003-06-18 18:39:12 +00:00
stekkel
f11cb00d14
because we remove the quotes an empty string could be left => check if the
...
string is empty before we add it to the token array
2003-06-17 21:21:57 +00:00
stekkel
e990133084
fixes parseAddress. I think this thing is working brilliant :)
2003-06-17 17:17:17 +00:00
stekkel
596f4e8e2e
Rewritten addressparser
...
Should solve infinite loops and hopefully it's also quicker.
2003-06-17 00:27:58 +00:00
stekkel
cea04e81b1
in case of BYE response display errormessage
2003-06-13 15:30:28 +00:00
stekkel
7a8f5cdf94
Another failsafe check which I missed. Thnx Erin.
2003-06-12 14:17:10 +00:00
stekkel
00da36c274
better error processing, immediate break out of the while loop in case of an
...
error.
2003-06-12 09:42:10 +00:00
Erin Schnabel
adbde2554f
align cases so they're easier to find..
...
{} and comments for the bigger blocks
2003-06-11 20:41:39 +00:00
stekkel
430d013987
fixed formatting, sjeesh that's realy dull work. Makes me simple :(
...
The only exiting part was working with VIM for the first time. And I still
thing it's not the most user friendly editor unless you know all keycodes
which I don't know.
2003-06-11 19:53:22 +00:00
stekkel
9287970385
extra safetycheck before we process group addresses
2003-06-11 17:54:12 +00:00
stekkel
28a9dd7eb8
Rewrite of sqimap_read_data_list. This will raise performance and it's more
...
accurate.
2003-06-11 17:16:29 +00:00
Thijs Kinkhorst
5136084e4e
Prevent loop in parseAddress: if the address is invalid and looks like:
...
Thijs <aap
(no closing ">"), parseAddress would enter an infinite loop. This is
solved by increasing $pos when no closing > is found. Closes 742584,
thanks Jeroen van Wolffelaar.
2003-05-25 18:58:15 +00:00
stekkel
00cbd8dac8
Minor fixes in parseAddress and limit the returned results to 1 address
...
(performance) in case we are displaying the sent folder
2003-05-23 11:51:05 +00:00
stekkel
fb9dea3eb1
fix for addresses containing groups
2003-04-25 17:35:24 +00:00
Thijs Kinkhorst
102687490e
encodingfixes by Marc
2003-04-01 20:47:00 +00:00
philippe_mingo
3849a687a3
Jon, please check this.
2003-03-29 13:20:11 +00:00
jangliss
1910cefb96
Weird locales seem to mess with uppercase i, and php seems to like to
...
convert function names according to locales... bad php, but not much we can
do. Changed quoteIMAP to quoteimap to work around this for now. It's only
used during login as far as I can find.
2003-03-10 18:01:45 +00:00
stekkel
df9067c865
improved encodeHeader function and decodeHeader handling to follow RFC's
...
better.
2003-03-07 22:11:22 +00:00
stekkel
a8c6763ace
in case of non sorting display newest messages first
2003-03-01 01:22:30 +00:00
stekkel
56158f3748
charset encode / decode fixes
...
support for encoded personal names inside addresses
fix for headerrequest
2003-02-28 19:12:00 +00:00
stekkel
fad2721642
added RECENT response to result array of sqimap_get_status in order to
...
remove an expensive select call in the newmail plugin. Probably the
influences on speed when the newmail plugin is disabled are minimal.
2003-02-06 19:36:09 +00:00
jangliss
cf1ed1cacd
Added a check in sqimap_login to verify $onetimepad is set. Not sure why
...
no check was ensured before. Should make plugin developers a little happier
in some cases too.
2003-01-09 20:12:40 +00:00
Erin Schnabel
d0bc2d45e0
This makes more sense to me, and has been shown not to break anything, and while the other method should probably be fixed at some point, I think this is good for now.
2003-01-09 01:40:00 +00:00
tassium
32740804c9
Improved error handling, especially for everyone whose CVS install just broke because plain auth no longer exists. (Now renamed to login)
2003-01-04 06:21:06 +00:00
tassium
d1cc599af5
Ok, I screwed up. When I put in cram-md5 and digest-md5, I left the alternative as being "plain", which is a misnomer. There really IS a mechanism called "plain", and what we're doing isn't it. So I've renamed our "plain" to "login".
...
For IMAP, it uses the IMAP4rev1 "LOGIN <user> <pass>" syntax.
For SMTP, it uses the AUTH LOGIN (two-step) method.
2003-01-04 06:01:26 +00:00
Thijs Kinkhorst
75de52f258
Getting ready for 1.4.0 RC1
2002-12-31 12:49:43 +00:00
Thijs Kinkhorst
b57577e4fd
Assorted fixes, courtesy Roberto De Luca && kink
2002-12-21 16:13:47 +00:00
tassium
1fc6f1eced
With a little help from Marc (ok, a lot), CRAM-MD5 and DIGEST-MD5 no longer require the mhash extension. If present, mhash will be used.
2002-12-07 04:02:05 +00:00
Thijs Kinkhorst
513e603e08
XXS fixes, as in stable
2002-12-06 16:42:12 +00:00
tassium
d698527ab3
Merging in the tassium-auth branch.
2002-11-06 18:55:13 +00:00
Thijs Kinkhorst
2bbed74510
Move error checking up
2002-10-26 14:20:00 +00:00
Thijs Kinkhorst
2cd17048c6
Language fix
2002-10-26 11:11:28 +00:00
stekkel
2c28f46a6a
nice error messages
2002-10-24 13:57:13 +00:00
stekkel
fced9cf08c
error check on imap_stream.
2002-10-24 09:25:20 +00:00
Thijs Kinkhorst
2b3080ed24
If stream is FALSE also don't logout
2002-10-23 15:21:21 +00:00
Thijs Kinkhorst
5ccfbf3bec
In sqimap_logout, check if we have a stream to logout to.
...
If we don't, logging out is not neccessary.
This prevents an endless loop of fgets when there's no connection anymore.
2002-10-23 15:12:13 +00:00
stekkel
2025b8406b
typo
2002-10-17 19:46:29 +00:00
stekkel
4336cb7efc
added status function for getting total/unseen information with one imap
...
call
2002-10-17 19:39:04 +00:00
stekkel
82e53c4441
sqsession_destroy
2002-10-06 19:28:38 +00:00
Thijs Kinkhorst
067363daea
Update function directory to rg=0.
2002-09-21 15:59:32 +00:00
indiri69
56f1d28aec
More SM_PATH changes
2002-09-10 22:35:30 +00:00
thomppj
9001d31cf8
Converted all files in functions/ to use SM_PATH. This will break all
...
plugins. Each callable script needs a:
define('SM_PATH', '../../');
Or something like that put at the top.
2002-09-06 00:31:43 +00:00
stekkel
0835e1dddb
Fixes from Jason to sqimap_read_data.
...
This also removes the ")" characters which doesn't belong to the requested
data but are part of the imap output.
2002-08-28 14:52:01 +00:00
stekkel
ad52b8232c
quick hack to remove the preg_match for * [0-9]+ FETCH in case of
...
sqimap_run_command. Explanation: if we request for a single fetch (not a
list) we shouldn't look for extra fetch lines because this stops the
processing in case of body entities with * a001 fetch lines.
Later we can glue the 2 functions together if we add information to
sqimap_read_data_list about the nature of the call (list or not)
2002-08-26 09:27:43 +00:00
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