> >> >>> All I can suggest is to show the HTML code for your compose screen > >> >>> after you have added one attachment. After you capture that HTML, > >> >>> make sure adding another attachment or sending that message as is > >> >>> results in the loss of the attachment that had been added when you > >> >>> captured the HTML. > >> > > >> > Thanks for all the testing. You didn't show the HTML, which would > >> > have been helpful. It would be helpful to see the HTML of both after > >> > the first and second attach actions. > >> > > >> > However, some of this information was helpful, and it looks as if the > >> > problem might be in saveAttachedFiles(). I am attaching a patch to > >> > try. Can you please revert all debugging changes and apply this > >> > patch? I can't yet guarantee that this will solve the issue since I > >> > still cannot reproduce it. > >> > > >> >>> [...] > >> > >> Fine. > >> > >> It works. > >> I can send multiple attachments now. > > > > Thanks for the feedback. > > > > Can anyone else confirm this? > > Very Good, it work for me too ! It works or it doesn't? Below you suggest that it does not. Can anyone else running PHP 4 confirm the following errors when either sending or deleting attachments? (Or perhaps the problem is specifically sending *AFTER deleting one attachment*?) > But I have an other trouble when I try to remove an attachment. When I > select an attachment to remove and clock on remove, I have this error : > > Warning: filesize(): Stat failed for > /var/spool/squirrelmail/attach/gZjO5z7TQavWjVce8GufjqRzw42BSWaF (errno=2 - > No such file or directory) in /var/www/html/squirrelmail/src/compose.php > on line 1240 > > and after when I send the message I have : > Warning: > fopen(/var/spool/squirrelmail/attach/gZjO5z7TQavWjVce8GufjqRzw42BSWaF): > failed to open stream: No such file or directory in > /var/www/html/squirrelmail/class/deliver/Deliver.class.php on line 180 > > Warning: fread(): supplied argument is not a valid stream resource in > /var/www/html/squirrelmail/class/deliver/Deliver.class.php on line 182 > > Warning: fclose(): supplied argument is not a valid stream resource in > /var/www/html/squirrelmail/class/deliver/Deliver.class.php on line 194 > > Warning: > fopen(/var/spool/squirrelmail/attach/gZjO5z7TQavWjVce8GufjqRzw42BSWaF): > failed to open stream: No such file or directory in > /var/www/html/squirrelmail/class/deliver/Deliver.class.php on line 180 > > Warning: fread(): supplied argument is not a valid stream resource in > /var/www/html/squirrelmail/class/deliver/Deliver.class.php on line 182 > > Of course "gZjO5z7TQavWjVce8GufjqRzw42BSWaF" corresponding on disk to my > linked file. > > The mail received contain the name of the removed file but the file is empty. > > Any idea ? > > regards > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users