At 2003-06-02 01:30:47 -0700, [EMAIL PROTECTED] wrote:
>
> I am designing an E-mail client and I am unable to give good design.

That seems to be a common problem. :-)

Your question, however, is not specific enough to answer usefully (and
it is probably not entirely relevant to this list anyway). Perhaps the
following pages will help you with the IMAP parts:

* <http://www.washington.edu/imap/documentation/commndmt.txt.html>
* <http://dovecot.procontrol.fi/imap-client-coding-howto.html>

> After deleting message, things are going on like this...
>
> 1. a copy of message is copied to trash from inbox.
> 2. a delete flag is set to inbox message.
>
> 1. The messages with delete flag in inbox will not be displyed.
>  
> Is my understaing  ok?

What are you trying to understand? Your description, possibly along with
expunge/undelete features, is one way for a client to behave in deleting
messages. (But I suspect I'm misunderstanding your question somehow.)

> 1. when can i use CLOSE command?

See RFC 3501, �6.4.2. You can use CLOSE whenever a mailbox is selected.
If you don't want to expunge \Deleted messages, just select a different
mailbox (or LOGOUT, or read about UNSELECT).

> 2. if i delete message from trash, what will happen?

The same thing that happens when you delete messages in another mailbox.

-- ams

Reply via email to