|
|
|
|
||||||
| comp.mail.imap Discussion of IMAP-based mail systems. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I would like to know the size of the all messages contained in a
folder, say INBOX. Is there a command or flag to fetch this info. I want to avoid calling FETCH to get 'size' attribute of the message individually. I was reading RFC and there were heading saying " Mailbox Size", and it lead me to believe that there is a way to get the folder size but I did not see any reference to any useful FLAG. Here is the part of RFC... ************************************************** *********************************************** 7.3. Server Responses - Mailbox Size These responses are always untagged. This is how changes in the size of the mailbox are trasnmitted from the server to the client. Immediately following the "*" token is a number that represents a message count. 7.3.1. EXISTS Response Contents: none The EXISTS response reports the number of messages in the mailbox. This response occurs as a result of a SELECT or EXAMINE command, and if the size of the mailbox changes (e.g. new mail). The update from the EXISTS response MUST be recorded by the client. Example: S: * 23 EXISTS ************************************************** *********************************************** Pls let me know Thanks Ramesh |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
asnowfall@gmail.com writes:
> I would like to know the size of the all messages contained in a > folder, say INBOX. > Is there a command or flag to fetch this info. I want to avoid calling > FETCH to get 'size' attribute of the message individually. You can't. That's the only way to do it. > I was reading RFC and there were heading saying " Mailbox Size", and it Mailbox size here refers to the number of messages in the mailbox, not their cumulative size. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQBEdi3vx9p3GYHlUOIRAsziAJ4xFkhLp5kiJk0NHTo5sT FkMXvygwCfTS85 OXp4kxolp5ggfb5PtFojzCw= =dX66 -----END PGP SIGNATURE----- |
|
![]() |
| Outils de la discussion | |
|
|