pdontthink
2a4feaf852
Quelch PHP notice. Spotted by James Pooton.
2007-07-31 11:12:09 +00:00
Thijs Kinkhorst
baff951679
color has been dropped as a parameter from (plain_)error_message,
...
update the code to follow
2007-06-08 19:55:53 +00:00
Thijs Kinkhorst
dfbdae5943
replace preg_split without a regular expression with the
...
faster and less complicated explode()
2007-05-17 16:36:13 +00:00
Thijs Kinkhorst
621a1e897d
also fix duplicated version of parsepriority code
...
and remove a 3rd version
2007-05-17 16:29:47 +00:00
Thijs Kinkhorst
11b10ba5d1
increment year in copyright notices
2007-01-13 20:15:44 +00:00
pdontthink
ad6fa88f56
Add ability to return error string as well. Would be nice if we had an error code system too.....
2006-11-11 19:49:19 +00:00
pdontthink
32eed45a8c
Allow silent failure for sqimap_get_message()
2006-11-11 10:34:22 +00:00
tokul
4c334d0ae1
ignore msg copy errors when messages are deleted. Most common error is related
...
to quota issues. Updated function tries to copy message to trash and then tags
it as deleted. If we can store message in trash, message is stored. If we can't,
trash folder is bypassed.
added version information to two configuration variables
2006-09-30 09:49:08 +00:00
Thijs Kinkhorst
544904a503
Fix misspelled constant PREG_SPLIT_NI_EMPTY in sqimap_get_message
...
(#1543573 ). Thanks Cristian Rodriguez.
2006-08-21 10:33:08 +00:00
tokul
59ae6f3ac2
removing trailing ?> from function scripts
2006-07-15 12:01:32 +00:00
stekkel
d13fa62a8b
small thread code correction
2006-02-12 18:24:50 +00:00
stekkel
4dfdb073de
array_shift is slowwwww, this approach is faster.
2006-02-12 15:48:11 +00:00
stekkel
c22bde8859
The old thread code caused time outs with a message set of 15000 messages so
...
I started debugging, found out that preg_split was extremely slow and
started to avoid that call. I ended up in removing a lot of overhead and
working thread code.
Next step is adapting the indent array and add more status info per node in
order to generate nicer trees.
2006-02-12 14:41:26 +00:00
stekkel
d4d8b82a6b
UW response will now be detected too
...
[BADCHARSET (US-ASCII ,,,, )]
2006-02-10 19:02:28 +00:00
stekkel
9e94038db4
detecting character in a NO response propably means:
...
Unrecognized character set or
character set is not supported
In other words, it's very certain the NO is caused by an unsupported
charset.
2006-02-10 19:00:11 +00:00
stekkel
cc915a806f
Better error reporting
2006-02-08 08:00:10 +00:00
stekkel
cab8c6de26
Request a sqimap_run_command_list instead of a sqimap_run_command because in
...
case of unsollicited responses sqimap_run_command only returns the first
response and if that's the unsollicited one instead of the SORT or SEARCH
response we loose the requested response
2006-01-29 10:36:06 +00:00
tokul
83fdb4c332
copyright update
2006-01-23 18:46:41 +00:00
tokul
c5c93fb8cc
don't issue imap commands when target mailbox is same as source mailbox.
...
reduces number of imap calls and fixes mailbox caching issues (message is
not visible on message list until cache is updated).
might fix imap server locking on MacOS cyrus (#1409453 ).
2006-01-22 12:08:33 +00:00
stekkel
0e0f470204
fixed warning (by Michael Long)
2005-11-21 21:46:48 +00:00
Thijs Kinkhorst
2b7abb195b
remove irrelevant markers
2005-11-21 20:14:20 +00:00
stekkel
04c62bb45f
fix from Michael Long for imap servers that do not return the UID in the fetch response
...
returned by doing a UID STORE.
2005-11-21 19:34:15 +00:00
Fredrik Jervfors
9ed98bb1ec
phpDocumentor updates
2005-09-18 10:25:54 +00:00
tokul
45cf307ed7
php 5.1b2 - can't use function call inside array_shift() function.
...
src/configtest.php
- add extra checks in use_php_recode and use_php_iconv.
- fix typo. $dbtype should be used instead $db
2005-07-14 17:44:41 +00:00
Thijs Kinkhorst
7d6145a7f4
Fix variable typo in parseFetch which caused IMAP errors with Exchange.
...
Thanks Christian Froemmel from Charite.
2005-06-24 08:15:38 +00:00
Fredrik Jervfors
2531f52955
Trimming whitespace and replacing tabs
2005-04-23 12:08:00 +00:00
stekkel
24dc4ae0fa
Templates
2005-04-14 22:09:03 +00:00
tokul
91f7290e78
since comments are not needed for @return
2005-04-13 14:21:57 +00:00
tokul
5df0eb8513
documenting two functions
2005-04-13 13:24:06 +00:00
tokul
4f0cc014c5
adding since tags
2005-04-06 12:46:40 +00:00
Jimmy Conner
f5a3a72aca
Update message copy and move functions to allow for custom handling / ignoring of the error messages.
...
This fixes a bug where users with exceeded quota's could not login when the filter plugin is actively filtering.
Currently user does not get an error if filtering failed (I am working on it) and it continues parsing the next filter even if fails (I have code for this, but don't think its necessary)
2005-03-25 06:00:45 +00:00
Thijs Kinkhorst
a3de86e11f
Add comment to parsePriority function. I had to duplicate this function in
...
Rfc822Header.php AND imap_messages.php because both seem to do header parsing.
2005-02-06 19:26:23 +00:00
tokul
cb6839ed67
Fixing sorting order in get_squirrel_sort() ( #1115403 ).
2005-02-03 16:14:30 +00:00
Fredrik Jervfors
9faf3051c1
Changing squirrelmail/Squirrelmail to SquirrelMail in some strings as well as other minor documentation fixes
2004-12-29 15:06:20 +00:00
Thijs Kinkhorst
a73561b911
Increment year in copyright notice.
2004-12-27 15:04:02 +00:00
Thijs Kinkhorst
7f32e1d4d0
Add support for recognising 'Priority' and 'Importance' headers next to the
...
'X-Priority' that we've been supporting for a long time.
2004-11-21 13:10:06 +00:00
pdontthink
c05e7e12c8
Fix: Messages shown with bad times in message list due to misinterpreted UW IMAP internal date
2004-11-09 20:04:10 +00:00
Jimmy Conner
2cd94f0d75
Removed variables that were initialized, but never actually used
...
Also remove a few more globals that were unused
Remove a few newlines at the end of files
Hopefully this will help shrink the memory footprint of SM just slightly
2004-11-01 02:05:15 +00:00
Jimmy Conner
6bfd0f1168
Remove unused globals
2004-10-31 23:24:09 +00:00
Jimmy Conner
c9446974d8
Minor bug fix, just a misspelled variable
2004-10-28 05:17:41 +00:00
Fredrik Jervfors
b9788abcfa
Minor cleanups
2004-08-24 22:00:05 +00:00
jangliss
66d9203809
Fix link
2004-06-19 23:30:00 +00:00
stekkel
abd8f5ebf7
Added documentation and fixed a minor issue
2004-06-01 21:44:37 +00:00
stekkel
abf6bbc461
Rewrite of internal message caching
...
Added paginator support for asearch
Added next/prev links in read_body to walk through search results
Added individual sort settings / mailbox
Added what I forgot to mention
2004-05-31 20:07:44 +00:00
stekkel
9694d7879b
make use of new parseRFC822Address function
2004-05-26 01:18:42 +00:00
Thijs Kinkhorst
ac61dd81d2
Reset $msg on each iteration, otherwise a message with eg no subject
...
will take the subject from the previous message.
2004-05-25 13:47:49 +00:00
Thijs Kinkhorst
2f1cc08b0e
Replace array_search that only uses a boolean to check whether the value
...
exists with in_array (which returns just that boolean), and fix the
left over call to array_search to also check for NULL return.
This should fix the problems that Fredrik, me and other PHP 4.1 users
had with Marc's recent changes.
From PHP docs:
"Note: Prior to PHP 4.2.0, array_search() returns NULL on failure instead of FALSE."
2004-05-24 19:55:21 +00:00
stekkel
ca8d8b640f
Set the content-type correct so we can check on multipart/mixed in
...
mailbox_display (printMessage).
2004-05-24 18:01:59 +00:00
stekkel
e3c519e440
cleanup up filter plugin
2004-05-23 15:38:40 +00:00
stekkel
c27886a4eb
More cleanups.
2004-05-23 08:52:39 +00:00