DeleteMail
Delete the specified email message from the POP3 server.
DeleteMail(
MessageNr)
Parameters
Parameter | Type | Direction | Description |
---|---|---|---|
MessageNr | numeric | IN | Number of the message that should be deleted from the POP3 server. |
Return Values
Value | Description |
---|---|
0 | DeleteMail succeeded |
< 0 | DeleteMail failed |
-7 | Invalid message number |
-8 | Not logged on |
-9 | Socket error |
-10 | Miscellaneous error |
Use
Use after a connection to the mail server has been established with the
LogonMail
operation.
Description
The DeleteMail operation deletes the specified email message from the POP3 server.
activate "UPOPMail".DeleteMail(1)