[imp] Feature question: deleting mail

Claus cniesen@gmx.net
Thu, 02 May 2002 13:04:50 -0500


Unfortunately imap_mail_move is basically an imap_mail_copy followed by 
imap_delete so it's usage is out of the question in my case.

I went ahead and modified imp/lib/Message.php so that the use_trash delete 
is not executed and the imap_expunge is executed all the time instead of 
only when a pop server is used.  For the release the code changes would 
have to be much nicer that what I did and probably an additional preference 
setting would be needed.  However I question if it's worth to support that 
additional feature in IMP.

At 11:03 AM 05/02/2002, Claus wrote:
>Is it possible implement one of the following:
>
>1) an option to have the mail purged as they are marked
>    for delete
>2) when using "use_trash" to move the message instead
>    of adding it to the trash folder and deleting it
>    from the original location.
>
>I'm using courier-imap and have it setup to save deleted
>messages automatically in the trash_folder.  Now that I
>also use the "use_trash" option I get the same message
>twice in the trash folder.
>
>Why am I using the courier-imap trash option?
>Because I use other e-mail clients that otherwise don't
>save deleted messages.
>
>Why am I using the "use_trash" option?
>Because I don't want to mark messages delete AND have
>to purge the marked messages (aka I'm lazy).
>
>
>--
>IMP mailing list
>Frequently Asked Questions: http://horde.org/faq/
>To unsubscribe, mail: imp-unsubscribe@lists.horde.org