[imp] Display Problem

Patrick Timmons ptimmons@courriel.polymtl.ca
Thu, 18 Jan 2001 23:12:26 -0500


It would look something like this:

[courrier@c2:/home/courrier/horde] $ diff -c lib/mime_orig.lib lib/mime.lib
*** lib/mime_orig.lib   Tue Jul 11 10:51:49 2000
--- lib/mime.lib        Wed Jan 17 21:41:52 2001
***************
*** 64,70 ****
                $envelope['Content-Transfer-Encoding'] =
$this->transfer_encoding;

                if ($this->name != '')
!                       $envelope['Content-Disposition'] = "inline;
filename=\"$this->name\"\n";
                if ($this->description != '')
                        $envelope['Content-Description'] = $this->description;

--- 64,70 ----
                $envelope['Content-Transfer-Encoding'] =
$this->transfer_encoding;

                if ($this->name != '')
!                       $envelope['Content-Disposition'] = "inline;
filename=\"$this->name\"";
                if ($this->description != '')
                        $envelope['Content-Description'] = $this->description;

[courrier@c2:/home/courrier/horde] $

David Richards wrote:
> 
> We are using v2.2.3.  Can you please tell me the change I need to make?
> 
> Thanks,
> 
> Dave.
> 
> Chuck Hagenbuch wrote:
> >
> > Quoting Patrick Timmons <ptimmons@courriel.polymtl.ca>:
> >
> > > What version of IMP. We use version horde 1.2.2, imp 2.2.2 and in
> > > horde/lib/mime.lib, there is an extra newline at the end of the
> > > Content-Disposition: header (in subroutine hrader()) which causes 2 lines
> > > between the headers and the attachement. Removing this extra newline allowed
> > > me
> > > to correctly open rtf documents from attachements. I just made the
> > > modification
> > > last night. With the extra line, which ends up as the first line in the file,
> > > MS
> > > Word cannot recognize that it is an rtf document.
> >
> > Can you give me line numbers/context for this problem?
> >
> > -chuck
> >
> > --
> > Charles Hagenbuch, <chuck@horde.org>
> > Entropy. It's what's for dinner.
> >
> > --
> > IMP mailing list: http://horde.org/imp/
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> 
> --
> David Richards
> Project Manager (Messaging)
> Information Technology Services
> Queensland University of Technology
> 
> --
> IMP mailing list: http://horde.org/imp/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org

-- 
Patrick Timmons, service informatique