File attachment process
pantera975 <[email protected]>
| Newsgroups | gmane.mail.squirrelmail.devel |
|---|---|
| Message-ID | <[email protected]> |
I have been working on a project for work where I'm changing the file attachment process in squirrelmail. I've got most of it worked out but I'm stuck in a certain area. I'll try to explain it clearly. User1: Writes an e-mail and adds an attachment. By doing this the file is put /var/spool/squirrelmail/attach/ and named by GenerateRandomString(32, '', 7). He has not sent yet so at this point /var/spool/squirrelmail/attach/ contains 1 file (3543eknohgsogjfdnsdfh) User2: Writes an e-mail and adds an attachment. Their attachment does the same thing but with a different random string. Now /var/spool/squirrelmail/attach/ has 2 files. (3543eknohgsogjfdnsdfh and aklfas5435jn6as) User1: Clicks send and somehow squirrelmail knows to only get 3543eknohgsogjfdnsdfh and not the other. How is this done? What part of the code tells it what files names to look for in /var/spool/squirrelmail/attach/ during the send process. -- View this message in context: http://www.nabble.com/File-attachment-process-tp24411545p24411545.html Sent from the squirrelmail-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ----- squirrelmail-devel mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: [email protected] List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel