[imp] cosmetic issue with encrypted messages

Jan Schneider jan at horde.org
Mon Dec 16 13:02:16 PST 2002


Zitat von Michael M Slusarz <slusarz@bigworm.colorado.edu>:

> Quoting Jan Schneider <jan@horde.org>:
> 
> | If I get an encrypted message (getting the passphrase popup window) the
> | message view shows "There was no text in this message part." under the
> | usual "this is an enrypted message" text.
> 
> See if my recent changes fixed this - I can't reproduce it right now.

No, unfortunately not. Just to avoid any misunderstandings, this happens
with PGP encrypted messages and _before_ decrypting the message.
 
> The MIME shuffling that has been going on (and is hopefully finished now)
> was rewriting of certain code to allow us to go in and add, delete, and
> alter embedded MIME Parts by MIME ID.  For example, if I have a
> MIME_Message object, it was not possible before to say fetch me
> part '3.2.1' - actually, it was but the old way of doing it was really
> hackish; essentially, it just kept recursively going through parts and
> hoped to hit it eventually.  The new code is "smart" in that it will take
> the shortest route possible.

Great.
 
> Mainly this was done to get the stripping code to work - before these
> changes there wasn't really an easy way of altering a specific MIME Part
> and then having the output from MIME_Part::toString() be a valid mail
> message.  It looks a lot better now.

And indeed it works again.
 
> Two things still need to be fixed:
> 1. Message/rfc822 parts can not be stripped - I think this is a
> MIME_Contents:: issue.
> 2. Once you strip a single attachment, when the page is reloaded, all the
> stripping links point to the just deleted imap ID.  If you leave the
> message page and come back, everything works fine.
> 
> i'll work on these tomorrow.

Take your time.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the imp mailing list