| Home | All functions | Legacy functions | Categories |
vuPOP3Size(LONG InMessageNumber),LONG,PROC,PASCAL,RAW,NAME('vuPOP3Size')
Returns the size (in bytes) of the specified message in the active POP3 session.
| Parameter | Type | Description | |—|—|—| | InMessageNumber | LONG | 1-based POP3 message number. |
> 0: Message size in bytes.0: No size available (for example, message not found or no active message list).< 0: Error code from POP3 session operations.MAP
MODULE('vuMail.dll')
vuPOP3Size(LONG InMessageNumber),LONG,PROC,PASCAL,RAW,NAME('vuPOP3Size')
END
END
msgNo LONG
sizeB LONG
msgNo = 1
sizeB = vuPOP3Size(msgNo)
IF sizeB > 0
MESSAGE('POP3 message #1 size: ' & sizeB & ' bytes')
ELSE
MESSAGE('vuPOP3Size returned: ' & sizeB)
END
vuPOP3Count() first to validate message-number range.vuPOP3Connect()).| Home | All functions | Legacy functions | Categories |