[Tickets #5367] Re: download all attachments as .zip contains only last file in list

bugs at bugs.horde.org bugs at bugs.horde.org
Tue May 22 18:43:32 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=5367
-----------------------------------------------------------------------
 Ticket             | 5367
 Updated By         | krause at biochem.mpg.de
 Summary            | download all attachments as .zip contains only last file in list
 Queue              | IMP
 Version            | 4.1.4
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Owners             | 
-----------------------------------------------------------------------


krause at biochem.mpg.de (2007-05-22 11:43) wrote:

a more precise description of the bug (did not test the conditions under
which it occurs thourough enough, sorry for that!

the error occurs with any kind of attached file type, but _only_ if the
message itself is empty (i have sent some logfiles/reports as attachments
from a script without message body), and only the _first_ attachment is
missing (i always did only sent two attachments, sorry again for the lack
of in-depth analysis).

example full-text of a message with just attachments and no body which
raises the problem:
---- start of mail
Return-Path: <krause at biochem.mpg.de>
X-Original-To: krause at biochem.mpg.de
Delivered-To: krause at biochem.mpg.de
Received: from localhost (unknown [127.0.0.1])
	by mail01.biochem.mpg.de (Postfix) with ESMTP id C62301C000083
	for <krause at biochem.mpg.de>; Tue, 22 May 2007 18:31:03 +0000 (UTC)
Received: from mail01.biochem.mpg.de ([127.0.0.1])
 by localhost (mail01 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
 id 23129-03 for <krause at biochem.mpg.de>;
 Tue, 22 May 2007 20:31:01 +0200 (CEST)
Received: from pclx323.biochem.mpg.de (pclx323.biochem.mpg.de
[10.251.0.17])
	by mail01.biochem.mpg.de (Postfix) with ESMTP id 7C18C1C000085
	for <krause at biochem.mpg.de>; Tue, 22 May 2007 20:31:01 +0200 (CEST)
Received: by pclx323.biochem.mpg.de (Postfix, from userid 0)
	id 3E01FAF5D7; Tue, 22 May 2007 20:31:05 +0200 (CEST)
Date: Tue, 22 May 2007 20:31:05 +0200
To: krause at biochem.mpg.de
Subject: test
User-Agent: nail 11.25 7/29/05
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="=_465336e9.JUTFERq4X+hifFcndYp0WwskcVtvWnndgO+vATXKttTAYnCa"
Message-Id: <20070522183105.3E01FAF5D7 at pclx323.biochem.mpg.de>
From: krause at biochem.mpg.de (krause)
X-Virus-Scanned: by amavisd-new at biochem.mpg.de

This is a multi-part message in MIME format.

--=_465336e9.JUTFERq4X+hifFcndYp0WwskcVtvWnndgO+vATXKttTAYnCa
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
 filename="Test 1.txt"

text 1=

--=_465336e9.JUTFERq4X+hifFcndYp0WwskcVtvWnndgO+vATXKttTAYnCa
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
 filename="Test 2.txt"

text 2=

--=_465336e9.JUTFERq4X+hifFcndYp0WwskcVtvWnndgO+vATXKttTAYnCa
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
 filename="Test 3.txt"

text 3=

--=_465336e9.JUTFERq4X+hifFcndYp0WwskcVtvWnndgO+vATXKttTAYnCa--
--- end of mail

it seems that the funktion for extracting the attachments always ignores
the first part, which normally would be the message text ...




More information about the bugs mailing list