PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > comp.mail.imap > how to get mailbox size in bytes?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.imap Discussion of IMAP-based mail systems.

how to get mailbox size in bytes?

Réponse
 
LinkBack Outils de la discussion
Vieux 25/05/2006, 15h20   #1
asnowfall@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut how to get mailbox size in bytes?

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

  Réponse avec citation
Vieux 25/05/2006, 23h21   #2
Sam
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: how to get mailbox size in bytes?

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-----

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 23h52.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,07334 seconds with 10 queries