[imp] Problem with attachments on IMP 2.2.5
Santiago Romero
sromero@servicom2000.com
Wed, 6 Jun 2001 13:47:41 +0200
El mié, 06 de jun de 2001, a las 12:22:14 +0200, Santiago Romero dijo:
> > I'm having an URGENT problem with attachments on IMP 2.2.5.
> > I click on BROWSE, select a .txt or .gif file, click on
> > ATTACK, the frame reloads and... it does not appear the
> > attached file on the compose window as does on my other
> > Linux machine (where appears a table with all attached
> > files, and a DELETE ATTACH button) ...
>
> I've followed (using print) where the PHP code stops when
> attaching files. In compose.php3, it always finishes on
> the same if statment: the following:
>
> if (!is_uploaded_file(safe_file($file_upload))) {
> print "I AM HERE"; /* this always appears */
> break; /* ignore attempt to spoof us; back to composing */
solved with upload_tmp on php3.ini (to /var/tmp).
thanks a lot anyway.
--
Santiago Romero
Departamento de Sistemas
sromero@servicom2000.com
Av. Primado Reig 189, entlo
46020 Valencia - Spain
Telf. (+34) 96 332 12 00
Fax. (+34) 96 332 12 01
http://www.servicom2000.com
>From tim.dodge@btinternet.com Date: Wed, 6 Jun 2001 13:04:23 +0100
Return-Path: <tim.dodge@btinternet.com>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 56137 invoked from network); 6 Jun 2001 12:04:35 -0000
Received: from host213-123-225-32.btopenworld.com (HELO jackfrost.invisibles.org) (root@213.123.225.32)
by horde.org with SMTP; 6 Jun 2001 12:04:35 -0000
Received: (from nobody@localhost)
by jackfrost.invisibles.org (8.11.3/8.11.2) id f56C4NR05575
for imp@lists.horde.org; Wed, 6 Jun 2001 13:04:23 +0100
X-Authentication-Warning: jackfrost.invisibles.org: nobody set sender to tim.dodge@btinternet.com using -f
Received: from 213.38.120.135 ( [213.38.120.135])
as user timmy@mail.invisibles.org by mail.invisibles.org with HTTP;
Wed, 6 Jun 2001 13:04:23 +0100
Message-ID: <991829063.3b1e1c4763040@mail.invisibles.org>
Date: Wed, 6 Jun 2001 13:04:23 +0100
From: Tim Dodge <tim.dodge@btinternet.com>
To: imp@lists.horde.org
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Originating-IP: 213.38.120.135
Subject: Attachment Problems
Hi,
I'm having a couple of attachment problems with 2.3.7-cvs (updated last night).
Firstly, RTF documents seem to be being mangled in some way. I recall there was
a problem with 2.2 adding an extra line, but this problem seems to be different.
I play an online game, which requires me to email an automatically generated
RTF document. The guy I send them to complains they are corrupted when he tries
to open them (he uses Outlook). I tried sending a file to my work address, and
that also appears to have been mangled (we use Pegasus). When I send them using
Outlook, they come through fine.
The second problem is that when I receive emails from Pegasus with some binary
attachments, IMP displays the following error message, rather then the email:
Warning: Undefined index: excel-sheet
in /usr/local/apache/htdocs/horde/lib/MIME/Structure.php on line 138
Warning: Cannot add header information - headers already sent by (output
started at /usr/local/apache/htdocs/horde/lib/MIME/Structure.php:138)
in /usr/local/lib/php/HTTP/Compress.php on line 51
Warning: Cannot add header information - headers already sent by (output
started at /usr/local/apache/htdocs/horde/lib/MIME/Structure.php:138)
in /usr/local/lib/php/HTTP/Compress.php on line 52
Warning: Cannot add header information - headers already sent by (output
started at /usr/local/apache/htdocs/horde/lib/MIME/Structure.php:138)
in /usr/local/lib/php/HTTP/Compress.php on line 62
Warning: Cannot add header information - headers already sent by (output
started at /usr/local/apache/htdocs/horde/lib/MIME/Structure.php:138)
in /usr/local/lib/php/HTTP/Compress.php on line 76
Followed by a load of binary.
Here's some of the headers from the Pegasus email that caused it:
MIME-Version: 1.0
Content-type: Multipart/Mixed; boundary=Message-Boundary-3031
Subject: hello
Priority: normal
X-mailer: Pegasus Mail for Win32 (v3.12b)
X-PMFLAGS: 570949760 0 1 Y0D60E.CNM
--Message-Boundary-3031
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Mail message body
--Message-Boundary-3031
Content-type: text/plain; charset=US-ASCII
Content-disposition: inline
Content-description: Attachment information.
The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any another MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.
---- File information -----------
File: hello.xls
Date: 6 Jun 2001, 12:44
Size: 13824 bytes.
Type: Excel-sheet
--Message-Boundary-3031
Content-type: Application/Octet-stream; name="hello.xls"; type=Excel-sheet
Content-disposition: attachment; filename="hello.xls"
Content-transfer-encoding: BASE64
And finally, can I vote to have the "contacts" menu option put back in? I run
Imp as the root directory - so I don't have the Horde menu at the bottom of the
screen.
Apart from these minor gripes, cheers for an excellent mailer.
Tim
>From janmailing@gmx.de Date: Wed, 6 Jun 2001 14:19:46 +0200
Return-Path: <janmailing@gmx.de>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 57594 invoked from network); 6 Jun 2001 12:26:54 -0000
Received: from mailout02.sul.t-online.com (HELO mailout02.sul.t-online.de) (194.25.134.17)
by horde.org with SMTP; 6 Jun 2001 12:26:54 -0000
Received: from fwd05.sul.t-online.de
by mailout02.sul.t-online.de with smtp
id 157cOX-0006Ed-02; Wed, 06 Jun 2001 14:26:41 +0200
Received: from linux.wg.de (320034214675-0001@[217.80.111.120]) by fmrl05.sul.t-online.com
with esmtp id 157cOP-0UhQXIC; Wed, 6 Jun 2001 14:26:33 +0200
Received: from localhost (localhost [127.0.0.1])
by linux.wg.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id f56CJkR31876
for <imp@lists.horde.org>; Wed, 6 Jun 2001 14:19:46 +0200
Received: from 192.168.60.1 ( [192.168.60.1])
as user jan@mail.wg.de by linux.wg.de with HTTP;
Wed, 6 Jun 2001 14:19:46 +0200
Message-ID: <991829986.3b1e1fe274fb2@linux.wg.de>
Date: Wed, 6 Jun 2001 14:19:46 +0200
From: Jan Schneider <janmailing@gmx.de>
To: imp <imp@lists.horde.org>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Sender: 320034214675-0001@t-dialin.net
Subject: removed contact menu entry
Hi,
I would like to keep the contact button in the imp menu. It provides a fast
access to your addressbooks and you don't always have the whole horde framework
open.
Just my thoughts, Jan.
::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::