* I really didn't like the old attachment code
authorfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 28 Mar 2001 20:21:02 +0000 (20:21 +0000)
committerfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 28 Mar 2001 20:21:02 +0000 (20:21 +0000)
commitf972eb466c6678220bd89b217d7904ce7ae3072e
treec6c0ba51fda6c571ec4d0bfcf19da2cdc5494670
parent3d6c7e964247034a8e7c1853d63badc02dcaebdd
* I really didn't like the old attachment code
* Information is now saved in the session instead of .info files
* Local filenames are no longer transferred to the client (YEAY)
* The client can no longer delete arbitrary files on the system
  (by setting a   delete[] = "username.pref"   or   delete[] = "../index.php")
  (Untested, but the code looked like it would happily oblige)
* Attachments are now cleared when a new mail message is started
* Attachments are now cleared when a new mail message is forwarded
* No more silly errors when deleting a single attachment

Food for Thought:
* If the attachment information was saved in the preferences, the next time
  the user logs in, old un-deleted attachments could be trashed (or a very
  simple cron job could be made)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1207 7612ce4b-ef26-0410-bec9-ea0150e637f0
functions/smtp.php
src/compose.php