stekkel
9970784525
fix for never ending while loop
2002-09-06 17:44:29 +00:00
thomppj
caeff8b548
First, more formatting conventions.
...
1. Wrap all operands of a complex expression with parentheses.
For instance:
if ($bob == 'foo' || $bob == 'bar') {
is wrong. Do this instead:
if (($bob == 'foo') || ($bob == 'bar')) {
2. Carefully decide between pre and post incrementation. If it
does not matter, always choose pre because it is technically
more efficient. For instance:
for ($i = 0; $i < $count; $i++) {
is wrong. Do this instead:
for ($i = 0; $i < $count; ++$i) {
3. Classes should be named in style like this:
MessageHeader
Rfc8222Header
etc. When there is an acronym at the beginning, treat it
like a word - do NOT captitalize each letter of the acronym.
4. Put each class in a seperate file named ClassName.class.php.
Related classes can be put in one directory and then included
in a main include file.
Second, big changes with mime.class.php here. And I don't think I broke
anything. (Sounds like famous last words, eh?)
2002-08-29 23:42:46 +00:00
stekkel
660b1536b4
allow_call_time_pass_reference = Off
2002-08-16 10:38:45 +00:00
stekkel
0e8cd5f791
Fix for broken imap-servers with a missing UIDNEXT Value.
...
Thnx Thijs Kinkhorst for solving this issue.
2002-08-14 12:10:17 +00:00
robsiemb
271ff2d72a
make the failure to set the \Answered flag on a message when replying
...
non-fatal
2002-08-08 18:54:28 +00:00
stekkel
86e5cf0709
rfc822_header
2002-08-06 22:46:03 +00:00
Thijs Kinkhorst
9380bf6b72
Fix typo, thanks to Scott A. Hughes.
2002-07-28 17:09:30 +00:00
stekkel
cbc9d9de55
moved check for issent to mailbox_display where it belongs
2002-07-22 19:25:55 +00:00
stekkel
a8d0e85ae6
typo
2002-07-12 16:30:50 +00:00
uid77282
b752a13b74
Spacing fixes
2002-07-05 22:56:07 +00:00
uid77282
cd9d641e7f
$msgi+1 doesn't work when using anything but the system's default sort.
...
And maybe not even then. This makes it so you don't select message 134 and
end up deleting message 1 just because it happens to be first on the list.
2002-07-05 22:37:47 +00:00
stekkel
0e59838711
removed debug message
2002-07-05 17:18:17 +00:00
stekkel
dc7e555a2c
UID support
2002-07-05 13:18:00 +00:00
centaurix
7c00d76e60
changed preg_match from /AU to /AUi flags to catch headers case insensitive
...
(before that headers like SUBJECT: resulted in a "unkown subject")
2002-06-23 10:31:28 +00:00
jmunro
61d81edeb2
looks like a typo at line 632 giving me parse errors.
2002-05-28 19:05:07 +00:00
stekkel
4371e203e5
Added function to get mime-entity headers
2002-05-28 14:22:31 +00:00
Pontus Ullgren
11ed1b3a56
OK according to the RFC this fix should be done for all imapservers, sorry about that
2002-05-23 19:00:44 +00:00
Pontus Ullgren
8f827545da
Forgot to add as global
2002-05-23 15:50:57 +00:00
Pontus Ullgren
6786ec6b9a
Added TZ-fix for cyrus and mac os x mailserver aswell since these have been reported.
2002-05-23 09:33:40 +00:00
Pontus Ullgren
f32c6c8fdd
Fix for badly formated date string from INTERNALDATE when using courier
2002-05-22 19:59:30 +00:00
stekkel
50e5f6a484
create unfolded lines breaks the header->to header-cc methods for adding the
...
individual addresses to an array.
Now it's fixed :-)
2002-05-02 20:40:01 +00:00
stekkel
f1497cd440
removed echo
2002-05-01 11:21:29 +00:00
stekkel
030403b49e
Speed related changes to sqimap_get_small_header_list. However it's tested
...
it might need some more tests.
2002-05-01 11:00:06 +00:00
jmunro
2840fdffeb
final fix for thread sort indent before 1.2.6
2002-04-29 22:23:44 +00:00
jmunro
e36f830879
fixes sort order when using server-side and $sort=6
2002-04-28 04:52:44 +00:00
stekkel
f3f73f57ed
minor fix
2002-04-16 09:11:59 +00:00
jmunro
b9fecdce5d
fix E_ALL warnings when server/thread sorting not supported
2002-04-16 05:45:16 +00:00
jmunro
758f5ae733
fix for bug # 544264, replying with Cyrus
2002-04-15 22:35:45 +00:00
stekkel
2a671a510b
Added headerfield type for use with multipart/related messages
2002-04-15 21:32:18 +00:00
jmunro
78e92a61d9
rewrote the function that determines message indent levels for thread sort.
...
fixes problems with big threads and does a little fake threading when the
message thread has been broken.
2002-04-12 04:16:52 +00:00
jmunro
73c456a9ee
fallback to client side sorting if server side sorting is selected but not supported by the IMAP server.
2002-04-03 15:43:55 +00:00
jmunro
e34c70d24d
fix for bug #511673
2002-04-02 06:47:48 +00:00
jmunro
77ff1554fe
fixes previous/next on read_body when using server or thread sorting
2002-04-01 17:07:44 +00:00
jmunro
cead1432ff
added a server-side sorting option. set gloablly in conf.pl
...
IMAP server does the sorting with the SORT extension. Defaults
to disabled.
2002-04-01 06:47:47 +00:00
jmunro
b84c03194d
Added a server-side thread sort option. disabled by default (site wide)
...
uses IMAP THREAD command to sort mailboxes. Also does indenting of replys
2002-03-28 21:07:41 +00:00
simond
287d3eba12
Make spacing more even when combining header lines
2002-03-21 18:37:10 +00:00
simond
d4a411272f
Handle multiline headers (thanks to Christian Schmidt)
2002-03-21 18:21:25 +00:00
jmunro
0f18e9fbb8
Added correct References header support per rfc2822
...
removed References from small_header_array and created
a get_reference_header function in imap_messages.
Also added a calculate_reference function to smtp.php
to determine correct reference header.
2002-03-21 06:50:03 +00:00
jmunro
e6e8b279f9
added 'References:' and 'In-Reply-To:' to sqimap_get_small_header_list in preperation for improved reference handling in smtp.php.
2002-03-19 07:23:02 +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
stekkel
ccf95e2a08
support user option sort by internal date
2002-03-15 11:55:57 +00:00
stekkel
47e7d84c25
Added function to get entity header of an attached message
2002-03-07 14:14:10 +00:00
philippe_mingo
76b37919d6
"Marc Groot Koerkamp" <marc@its-projects.nl> patch for greek enconding.
2002-02-25 18:54:20 +00:00
Thijs Kinkhorst
46e29148e7
Replaced ereg_replace with str_replace on several occasions, should be faster.
2002-01-29 00:07:50 +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
58e55b85f0
Just tidying up the text because it looks nicer that way. Tested locally
...
and everything still works as expected.
2002-01-12 06:36:59 +00:00
philippe_mingo
228080ecb5
Modifications to respect way back to search from reading.
2002-01-04 14:10:03 +00:00
thomppj
1e2a9cc5d0
Getting ready for 1.2.0 release.
2001-12-23 07:42:40 +00:00
thomppj
5d15361f1f
Code cleanup brigage...
2001-12-02 09:33:02 +00:00
philippe_mingo
da2f3297dd
** -> *
2001-11-26 19:33:28 +00:00