Commit graph

454 commits

Author SHA1 Message Date
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
6092b83f73 Remove personal data from Message ID seed. (#880029/847107) 2009-07-31 05:23:04 +00:00
pdontthink
bc3fb36016 Stop using deprecated ereg() functions (#2820952) 2009-07-29 01:55:21 +00:00
pdontthink
6618a28091 Anchor the regexp. Thanks Thijs Kinkhorst. 2009-05-21 09:21:56 +00:00
pdontthink
ef75b59bbb When sending an address literal to an SMTP EHLO command, do it with the right syntax 2009-05-20 20:59:44 +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
326a1c7f10 Encode outgoing attachments that have lines longer than allowed per RFC. Otherwise, they can be corrupted when artificially (forced) folding - unfolding typically produces an extra space at the fold in most MUAs. This fixes #2226470 and #1473714. Thanks to Kelly Fallon. 2009-04-03 08:31:17 +00:00
pdontthink
1dca6f714b Rewrite foldLine(). The old version *might* have been fixable, but it contained several bad assumptions, RFC misunderstandings and design problems. The new one is better documented if nothing else. PLEASE PLEASE PLEASE TEST THIS. This is a candidate for backporting to STABLE since it fixes some buggy behaviors - see #2501008 and #1951776 and others 2009-04-03 01:21:07 +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
d8660a41f4 Documentation fix 2009-04-01 20:53:02 +00:00
pdontthink
fed4b6376b Make our Date header RFC-compliant. Redundant timezone info does not comply with RFC 822 section 5.1 2009-04-01 20:39:41 +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
77b3c3d037 Put sample .htaccess in all directories browser does not access directly 2009-03-26 22:34:32 +00:00
pdontthink
e54daefe82 Supposedly user info could be removed from received header regardless of edit_identity setting, but this was not the case - now it is; Also add one more clarifying note to config script. 2008-12-05 21:05:16 +00:00
pdontthink
d09e079fd1 Empty header values cause PHP notice - fix 2008-10-29 23:06:25 +00:00
pdontthink
e4252c5bf3 Just fiddling. Give credit where credit is due. Template class header() function now supports the 'replace' argument. 2008-09-24 01:56:59 +00:00
pdontthink
68e7ef6f2e RPC requests should use their own template sets with different content-type. 2008-09-10 06:48:00 +00:00
pdontthink
fa7436a9de Allow template sets to define what the content-type of their output is. 2008-09-10 03:04:14 +00:00
pdontthink
580f61c204 Fix PHP 5.3.0 notices 2008-08-11 01:30:35 +00:00
pdontthink
8523ca3d2c Allow a different server address for the POP server to be configured when using POP before SMTP 2008-07-19 17:27:54 +00:00
pdontthink
2fbd9de6f4 add fixme 2008-07-04 19:22:02 +00:00
pdontthink
42240d3964 Change order of arguments 2008-04-28 02:19:12 +00:00
pdontthink
c7baefdde0 Don't open multiple IMAP connections when building reply headers during send 2008-04-25 21:59:00 +00:00
pdontthink
50df633836 Don't put encoding on multipart/alt message parts 2008-04-20 02:21:33 +00:00
pdontthink
05bc865055 Change approach for making things like Message-ID available after sending. Tracker #1322898 inspired me to do what I was originally thinking, even though this shows SM's design weaknesses. I also now guarantee that the Message-ID and Date headers will be the same between that sent to the recipient and that stored in the Sent folder. 2008-02-13 03:56:19 +00:00
pdontthink
62ea6e4a60 Correct value of undefined hostname 2008-02-10 19:07:20 +00:00
Thijs Kinkhorst
40f5f2b9d3 improve message ID generation: put together a string based on user-data
(username, IP, remote port), serial data (time in ms) and randomness,
and put this all through a one-way hash. This makes the chance on
collisions unrealistically small, and at the same time prevents all
kinds of trouble when some vars are not available or contain non-allowed
information (like IPv6 addresses).
2008-02-10 16:21:46 +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
pdontthink
9880c85539 Make message ID available after message is sent. Not the best solution, but it's smallish and SM design doesn't suit very well 2008-02-06 08:13:33 +00:00
pdontthink
4f1a58c843 avoid E_STRICT errors 2008-01-06 03:16:00 +00:00
pdontthink
117413554f Correct misplaced code 2008-01-06 01:05:38 +00:00
pdontthink
efd332278a Don't start message ID with a dot when no remote port is available 2008-01-02 08:52:04 +00:00
pdontthink
35cd41b16e Refactor how IMAP messages are "sent" 2007-12-19 08:24:36 +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
87f4892057 Restore outgoing reply headers 2007-10-24 09:34:21 +00:00
pdontthink
310d01467d Make identities matching case insensitive 2007-08-31 23:19:36 +00:00
Thijs Kinkhorst
f4fc35cef1 Silence fsockopen since errors are handled internally.
Use more sensible return values for this function.
2007-07-20 16:53:10 +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
pdontthink
b50ee09af8 Don't include svn files in any of the cached template files 2007-07-08 00:25:23 +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
2af3dba26b state license as recommended by the free software foundation 2007-05-31 12:27:08 +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