[imp] Re: IMP problem

Eric Rostetter eric.rostetter@physics.utexas.edu
Mon, 8 Jul 2002 22:18:59 -0500


Quoting Chuck Hagenbuch <chuck@horde.org>:

> About the message deletion, I'm not seeing that, and have no idea where 
> it'd be coming from... other IMAP clients don't do it?

Using imp/lib/Message.php, version 1.83 or above, delete becomes delete+purge
due to line 672 in version 1.84.  The code flow, using some pseudo code, reads
(starting at about line 646):

if using trash then
   do a bunch of stuff
else
   if delete fails
      print some error messages
   else
      if pop3
         expunge
         close connection
         authenticate 
      else
         expunge  // THIS IS WHERE IT IS GETTING PURGED
end all the if/elses above   

If I comment out the expunge at line 672, then it goes back to the old
delete functionality (deleted but not purged).

> -chuck
> 
> --
> Charles Hagenbuch, <chuck@horde.org>
> "After a few minutes the most aromatic and nice smelling Italian coffee 
>  will come out of the exhaustpipe." - Our stove-top espresso pot
> 
> -- 
> IMP mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org


-- 
Eric Rostetter
The Department of Physics
The University of Texas at Austin

"TAD (Technology Attachment Disorder) is an unshakable, impractical devotion
to a brand, platform, product line, or programming language. It's relatively
harmless among the rank and file, but when management is afflicted the damage
can be measured in dollars. It's also contagious -- someone with sufficient
political clout can infect an entire organization."

--"Enterprise Strategies" columnist Tom Yager.