POP3c_MsgDel()

Deletes a specific message from the server.

Files

pop3-c.h/pop3-c.c

Prototype

void  POP3c_MsgDel (NET_SOCK_ID   sock,
                    CPU_INT32U    msg_nbr,
                    NET_ERR      *perr);

Arguments

sock Socket

ID returned by POP3c_Connect().

msg_nbr

Index of message to delete.

perr

Pointer to a variable that will hold the return error code from this function:

Returned Values

None.

Required Configuration

None.

Notes / Warnings

  • The msg_nbr argument starts at the value ‘1’. Message ‘0’ does not exist.

Example Usage

See Sample Application.