Commit graph

172 commits

Author SHA1 Message Date
pdontthink
fc57bf2b59 Happy New Year! 2011-01-06 03:16:21 +00:00
pdontthink
c4785809ee Force the addition of a file suffix to attachments that lack a filename (helps forwarded messages avoid spam filters) (Thanks to Petr Kletecka) (#3139004) 2010-12-17 21:41:39 +00:00
pdontthink
e560eba6a3 Now properly quote personal part of encoded addresses when replying 2010-06-21 07:58:11 +00:00
Thijs Kinkhorst
fee4b7be06 r13926 from stable:
code in findDisplayEntity expects object, not array. Make findAltenativeEntity
return an object or null consistently.
2010-03-08 09:37:07 +00:00
pdontthink
83236fcc19 Encoded From headers now properly quoted (#2830141). A better fix might be to re-write encodeHeader() 2010-01-30 17:10:07 +00:00
pdontthink
7aa0e60863 Update copyrights to 2010 2010-01-25 03:23:30 +00:00
jangliss
aeef8c04ba Fix issue with multi-part related messages not showing all attachments (#2830140). 2009-11-22 16:19:52 +00:00
Fredrik Jervfors
134d462c94 The copyright symbol isn't really needed since the word "copyright" is there. Also it doesn't display right in the documentation. 2009-09-29 12:15:33 +00:00
pdontthink
26e421a39d Ungreedy modifier does nothing here; remove to avoid unecessary confusion 2009-09-15 20:48:33 +00:00
pdontthink
4e08ebbbc0 Add display indicator for forwarded messages 2009-04-17 10:49:38 +00:00
Fredrik Jervfors
0a6245814a There are too many modified files being committed without the copyright year being updated, so here's a copyright year update the old-fashioned style. 2009-04-15 22:00:49 +00:00
pdontthink
5fcffc7336 Default Content-Transfer-Encoding is now RFC-compliant "7bit" instead of "us-ascii". (#1942060) 2009-04-02 00:39:15 +00:00
pdontthink
45517fd6f0 Put quotes around both encoded and non-encoded addresses for consistency (#2449213) 2009-04-01 11:06:10 +00:00
pdontthink
83854bb3e4 Add RFC 2231 support. Thanks to Piotr Pawlow. (#2501379) 2009-04-01 08:24:48 +00:00
pdontthink
d09e079fd1 Empty header values cause PHP notice - fix 2008-10-29 23:06:25 +00:00
pdontthink
580f61c204 Fix PHP 5.3.0 notices 2008-08-11 01:30:35 +00:00
pdontthink
62ea6e4a60 Correct value of undefined hostname 2008-02-10 19:07:20 +00:00
Thijs Kinkhorst
a0aa659487 add space for nicer formatting 2008-02-10 15:02:33 +00:00
pdontthink
dd4d515baf Correct disappearing addresses when address book entry has email address without host portion 2008-02-06 08:14:37 +00:00
jangliss
248b4050ce Invalid initialization of To: header (#1772893).
Thanks Tomas.
2007-11-15 06:00:41 +00:00
Thijs Kinkhorst
f197218fd3 Fix off-by-one in bodystructure parsing triggered by servers sending
a body location part (e.g. Sun Java System Messaging Server). Thanks
John Callahan (#1808382).
2007-11-04 10:12:58 +00:00
pdontthink
49d815ef25 Fix outgoing messages to allow addresses such as "0" or "000", etc. See #1818398 2007-10-24 10:37:30 +00:00
pdontthink
310d01467d Make identities matching case insensitive 2007-08-31 23:19:36 +00:00
Thijs Kinkhorst
beaac6787b Use attachment_dir only at the point where we're actually
reading from / writing to the files, do not carry it around
in the object. This makes us safer in the event the object
is somehow exposed to the outside world.

I may be cleaning this up some more for devel.
2007-07-16 20:48:46 +00:00
Thijs Kinkhorst
fc3206645c Always treat Content-Type case-insensitively (#1732092).
Thanks Rich Pinkall Pollei!
2007-06-08 18:28:30 +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
54242c1880 using split() with wrong perl regexes will not work. 2007-05-17 15:39:06 +00:00
Thijs Kinkhorst
754716c77f fixes for r12283: mistakenly passed already-split date to date_unparsed,
and correct a mistaken comment at that header
2007-02-27 19:42:21 +00:00
Thijs Kinkhorst
03a31465c8 also store the unparsed date, and display it when we
failed to parse a Date. This allows RFC-incompatible
dates to still be seen in e.g. read_body in their
original form, better than nothing. For safety split
any "<",">" out, something might rely on the date being
completely safe to print.
2007-02-27 18:57:18 +00:00
Thijs Kinkhorst
c91591f9ea misspelled reply_to and in_reply_to attributes 2007-01-24 14:50:31 +00:00
Thijs Kinkhorst
11b10ba5d1 increment year in copyright notices 2007-01-13 20:15:44 +00:00
stekkel
eb9248997e Bodystructure parsing fix 2006-11-26 21:29:46 +00:00
Randall Smith
b99f103616 Add support for SpamAssassin's X-Spam-Status header (#1589520). 2006-11-10 17:07:17 +00:00
stevetruckstuff
e499b62301 New function to return only the email address. For use with templates. 2006-10-06 21:53:04 +00:00
stevetruckstuff
706860df49 Delivery notifications and Read notifications are currently treated as identical, which they are not. This patch creates a separate var for these two types of notifications. compose.php will be patched to handle this correctly when templatization (t12n) is completed. 2006-09-15 19:31:32 +00:00
tokul
59ae6f3ac2 removing trailing ?> from function scripts 2006-07-15 12:01:32 +00:00
tokul
83fdb4c332 copyright update 2006-01-23 18:46:41 +00:00
tokul
9d85fd232c $this->content_type == '' test causes E_NOTICE in php 5.1, when
$this->content_type is object. content_type should always store ContentType
object and this code is only to make sure that parameter is not default
string.
2005-11-27 08:16:02 +00:00
Thijs Kinkhorst
51eb17263a * Centralise the attachment deleting code into the Message class
* Use this from the various places in the code where this was duplicated
* Fix the broken code in signout.php to cleanup lingering attachments
  by using this same function.
2005-11-21 20:11:48 +00:00
indiri69
e1677776db If loop exit is caused by $i being greater than or equal to $cnt, do try to append the non existent value 2005-11-17 21:21:50 +00:00
Fredrik Jervfors
c5fc10f625 Formatting as in STABLE 2005-11-09 23:45:20 +00:00
Fredrik Jervfors
ea10bb191a Updating documentation 2005-11-05 20:27:07 +00:00
Fredrik Jervfors
9ed98bb1ec phpDocumentor updates 2005-09-18 10:25:54 +00:00
Fredrik Jervfors
d3abcd651b Adding more index.php files
Unifying index.php files
2005-09-11 07:05: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
tokul
a765cc5857 documenting some class params 2005-05-23 09:20:35 +00:00
tokul
2e57589332 content disposition rfc 2005-05-22 14:46:05 +00:00
tokul
c30a0f5bf2 adding index files in order to prevent directory listing.
adding some phpdoc blocks to mime classes.
tagging possible programming errors
2005-05-22 08:20:11 +00:00
tokul
a072871ca9 phpdoc blocks 2005-04-26 14:29:48 +00:00
stekkel
5a02409417 fixed some php5 warnings 2005-04-24 13:28:27 +00:00