docs

Home All functions Legacy functions Categories

vuPOP3LoadEmail()

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

Purpose

Retrieves and parses one full POP3 message so body, attachment, and embedded-content APIs can be used.

Parameters

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

Return value / error codes

Example (Clarion)

MAP
  MODULE('vuMail.dll')
    vuPOP3LoadEmail(LONG InMessageNumber),LONG,PROC,PASCAL,RAW,NAME('vuPOP3LoadEmail')
  END
END

rc    LONG
msgNo LONG

msgNo = 1
rc = vuPOP3LoadEmail(msgNo)
IF rc < 0
  MESSAGE('vuPOP3LoadEmail failed: ' & rc)
END

Notes

Home All functions Legacy functions Categories