stekkel
937d6c3c02
Fixed: filenames in case of forwarding a message.
...
Cleanup: Make use of getFilename method from the Message class and remove
this code from mime.php
2005-02-07 18:06:17 +00:00
Fredrik Jervfors
5fcc041bd2
Replacing tabs with spaces, trimming white space at EOL and newline at EOF (PHP only)
2005-01-07 17:42:23 +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
Fredrik Jervfors
8c8ecffa57
Replacing tabs with spaces, trimming white space at EOL and newline at EOF
2004-11-02 22:21:34 +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
indiri69
4f3eee7215
Check and make sure the header property value is actually set to something before testing its first character. Fixes an undefined offset error when reading badly formed emails.
2004-10-30 21:12:13 +00:00
Jimmy Conner
427ad60e26
Remove newline from end of file
2004-10-28 06:53:13 +00:00
Jimmy Conner
b6eda6eec6
Minor bug fix, just a misspelled variable
2004-10-28 06:49:33 +00:00
Fredrik Jervfors
8a714b865f
Phpdocumentor update - sed is your friend for these kinds of things ;)
2004-05-22 13:41:17 +00:00
stekkel
ade9340460
php5 fix.
2004-05-05 14:39:15 +00:00
Thijs Kinkhorst
af4bc6527f
Better support for malformed/absent dates and headerlines ending in only "\n".
2004-02-28 15:13:17 +00:00
Thijs Kinkhorst
cde0377d36
We're living in 2004 now... perl is your friend for these kinds of things :)
2004-02-24 15:51:22 +00:00
indiri69
ad45a1d2e9
Added support for a couple of MIME Content- headers.
2004-01-11 02:55:17 +00:00
tokul
2cea5ee40c
fixing multiline headers. space or tab should not be removed.
...
tab is replaced by space, because it is later used split decoded string into chunks
2003-12-30 15:30:11 +00:00
Thijs Kinkhorst
fedfa298f3
A fix to make SquirrelMail work under PHP5 (at least the beta that was released
...
recently). All the basic functions work as expected.
2003-11-04 09:20:53 +00:00
tassium
46e4bd65a4
phpdocumentor basic preparation, continued
2003-10-28 21:30:57 +00:00
indiri69
608dc28376
Make sure a token isn't blank before adding it
2003-08-22 16:58:54 +00:00
stekkel
91ea5d36ca
Workaround for mozilla bug #200412 .
2003-08-15 16:57:15 +00:00
Thijs Kinkhorst
a4bca53bb3
Add support for Mail-Followup-To to devel. In short, Reply To All will
...
set To to the value of this header if set.
http://cr.yp.to/proto/replyto.html
http://www.ietf.org/proceedings/98dec/I-D/draft-ietf-drums-mail-followup-to-00.txt
I'm not a real DJB-enthousiast, but reportedly quite some software uses
this header; no harm in supporting it if it's present.
2003-07-25 21:02:32 +00:00
stekkel
1fcc8f38c5
This will add the default domain again if the email address does not contain
...
it.
2003-07-10 16:04:26 +00:00
stekkel
b8315ed3cf
fixed warning.
2003-06-30 08:17:48 +00:00
stekkel
c023caa1d5
fixed warning. isset doesn't work with string offsets > strlen
2003-06-29 11:39:48 +00:00
indiri69
07e70f8603
Some more group handling fixes.
2003-06-29 03:33:09 +00:00
stekkel
82c1c23345
extra check for filename/name to achieve we do not show text/plain
...
attachments inline in case of a missing Disposition mime-header
2003-06-28 21:05:32 +00:00
stekkel
e164d8975c
Added rfc2184 support in order to handle:
...
Multilined parameters
Parameters with charset and language information.
Only problem:
I don't have a single message with rfc2184 headers so I couldn't test it.
Probably it works okay because the RFC wasn't that complicated.
2003-06-28 20:17:17 +00:00
stekkel
3b5c7da3b8
Added patch from seth randall to fix address group behaviour.
...
Fixed addressparsing in case of comments in the middle of email addresses.
example: valid(this is a comment)@email.com
2003-06-28 12:35:06 +00:00
stekkel
0a3f63b983
Now we can handle nested parenthesis :)
2003-06-19 16:47:36 +00:00
stekkel
67eafdcf9e
check for empty string before we add it to the token array
2003-06-17 21:22:57 +00:00
stekkel
2a0e35494d
Rewrote address parsing and now it works a lot better.
2003-06-17 20:23:00 +00:00
stekkel
33d86250f9
extra safety check before we process groups
2003-06-11 17:53:17 +00:00
stekkel
722b5b9f4d
Address parsing fixes. This whole addressparsing is driving me nuts and the
...
implementation sucks!!!
This definately needs a rewrite.
2003-06-03 20:30:53 +00:00
stekkel
5d7eea6d3d
better address parsing. This should fix wrong parsing of addresses with
...
comments
2003-05-28 22:09:49 +00:00
tassium
1d276f809a
Missing property problem that only shows up when sending messages with attachments. Fixed!
2003-05-21 15:46:46 +00:00
stekkel
018f966bc9
Fix from Thomas Castelle.
...
This will fix the out of order argument list situation in case of literal
arguments. Literal arguments weren't added to the argument array
2003-04-25 15:47:18 +00:00
stekkel
5387c61b4e
Fix for addressbook entries containing multiple email addresses (group)
...
This should solve the send error after compose.
2003-04-08 16:48:33 +00:00
jangliss
70687690e3
Fix for infinite loop when trying to decode multi-part mime attachments
...
(Bug #710210 )
2003-03-27 16:16:48 +00:00
Thijs Kinkhorst
1e93969fcf
Revert to 1.15: we don't currently use this field but it's defined
...
separately by RFC 2919, so we should support it for future use.
2003-03-24 14:29:06 +00:00
Thijs Kinkhorst
d175c69777
This field does not exist in the RFC spec and is not used in the code: drop it.
2003-03-23 11:39:51 +00:00
Thijs Kinkhorst
48e80e3c73
Small bug in content-type properties, thanks Ryan (hairball57) for reporting.
2003-03-16 12:34:03 +00:00
stekkel
b01c4f87da
address parsing with encoded personal names
2003-03-07 22:12:51 +00:00
Erin Schnabel
5c622f417c
Fixes bug 695150 in the 1.4.x stream
...
Not sure yet if/how to push it back to 1.2.x
2003-02-28 22:12:25 +00:00
stekkel
1b9f9de967
better parsing of email addresses (also used for processing compose form
...
addresses)
2003-02-28 19:14:08 +00:00
stekkel
0371a055e9
endless loop fix
...
"sometext\"" could cause an endless loop.
2003-02-25 12:20:13 +00:00
stekkel
8c9281094a
Added method to encode email addresses
2003-02-24 18:37:39 +00:00
stekkel
24fd9833f7
add checks for Messge Disposition Notifications.
...
Now we also identify X-Confirm-reading-To and Return-Receipt-To.
2003-01-27 09:26:55 +00:00
stekkel
b54b1c2ac0
* fix for e-mail addresses like: <mailbox@host> (personal name)
...
now the personal name is no longer interpreted as comment
but is stored as the personal name inside the address object if
there is no other personal name supplied.
in case of:
"personal name1" <mailbox@host> (personal name2)
personal name 1 is used and personal name 2 is treated as comment.
* removed an eval call and replaced by something that doesn't need eval.
2003-01-16 12:48:03 +00:00
stekkel
f082b4c5b6
This will probably fix the incorrect parsing of literals inside
...
bodystructures. Somehow the offset of $i was incorrect when returning in the
parser. Note: due to the trial and error way (in some design fases) of programming when writing the
structure parser things has come a bit too complex. I have already developed
a new parser that will be used for 1.5. That parser will be a lot easier to
follow and less bug sensitive like the one we use now.
2003-01-03 12:01:57 +00:00
Thijs Kinkhorst
75de52f258
Getting ready for 1.4.0 RC1
2002-12-31 12:49:43 +00:00