PEAR Manual
Prev |  | Next

# Net_POP3::deleteMsg()

Net_POP3::deleteMsg() -- Marks a message for deletion

## Synopsis

    require_once 'Net/POP3.php';

``boolean Net_POP3::deleteMsg` (integer $msg_id)`

## Description

Marks a message for deletion. Only will be deleted if the disconnect() method is called.

## Parameter

- `integer $msg_id` - Message to delete

## Return value

`mixed` - Returns `TRUE` on success, `FALSE` on failure.

## Note

This function can not be called statically.

Prev | Home | Next
Net_POP3::connect() | Up | Net_POP3::disconnect()