Maybe borrow the idea behind mqueues?  Use a uniq compose id for a message
and then create a mail attachment info/data file sets.

$_SESS['rcmcpmid'] = 'n3ECQ9sQ018441';

then in $tmp_dir/compose/

n3ECQ9sQ018441

which then contains a unique file 'pick up' id, and a real file name.

e.g.

df985jhfkjaf, real.file.name
kjfa8kjf749f, other.file.txt

then in $tmp_dir/cmppickup/

df985jhfkjaf
kjfa8kjf749f

which is the temporary store for the attachments.



On Tue, 14 Apr 2009 14:12:37 +0200, till <[email protected]> wrote:

> Hmm, if we'd attach that, people would be mad. ;-) Maybe we could do
> upload_tmp_dir/user/filename (name from $_FILES). We either clean up
> the files regulary, or we use the tmp_name and store the real name
> somewhere else ($_SESSION)?
> 
> Till
> _______________________________________________
> List info: http://lists.roundcube.net/dev/

-- 
Robert King
System Administrator
Computing & Communications
Memorial University
_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to