docs

Home All functions Legacy functions Categories

vuPOP3Size()

vuPOP3Size(LONG InMessageNumber),LONG,PROC,PASCAL,RAW,NAME('vuPOP3Size')

Purpose

Returns the size (in bytes) of the specified message in the active POP3 session.

Parameters

| Parameter | Type | Description | |—|—|—| | InMessageNumber | LONG | 1-based POP3 message number. |

Return value / error codes

Example (Clarion)

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

Notes

Home All functions Legacy functions Categories