Internet Direct (Indy)
|
Gets the mailbox size on the POP3 server.
function RetrieveMailBoxSize: integer;
Integer - Mailbox size in bytes, or -1 on error.
RetrieveMailBoxSize is an Integer function that retrieves the total size of the mailbox on the POP server.
RetrieveMailBoxSize uses the POP3 LIST command to accumulate the total mailbox size from the values returned for individual messages.
The return value is expressed in bytes and may contain 0 (zero) when the mailbox is empty, or -1 when an exception is raised.
Use RetrieveMsgSize to get the number of bytes required to store a specific message number in the mailbox for the POP3 account.
Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved. Website http://www.indyproject.org. Post feedback to the Indy Documentation newsgroup. |