Xbasic
EMAIL_POP_LIST Function
Syntax
L email_pop_list(P pList P pSocket [, L lStatusBar])
Arguments
- pListPointer
A pointer variable that is populated by this function.
- pSocketPointer
A pointer variable that is populated by EMAIL_POP_OPEN().
- lStatusBarLogical
Description
The EMAIL_POP_LIST() function returns an array ( pList.bytes ) containing byte counts for each message on the server. The array index is equal to the message id on the server.
Example
DIM pSocket as P DIM pList as P ? email_pop_open(pSocket, "mail.mycompany.com", "john_doe", "sneaky") = .T. ? email_pop_list(pList, pSocket) = .T. ? pList.bytes = [1] = 939374.000000 [2] = 856.000000 [3] = 44370.000000 [4] = 5650706.000000 [5] = 456123.000000
See Also