<div class="meta" robots="noindex">

</div>

Method

# POP3SecureSocket.ListMessages

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="warning">

<div class="title">

Warning

</div>

This item was deprecated in version 2019r2. Please use `POP3SecureSocket.RequestMessages<pop3securesocket.requestmessages>` as a replacement.

</div>

## Description

Requests a message listing.

## Notes

ListMessages triggers the ListReceived event. The list consists of the message index and the size of the message. If no index is passed, it gets the entire list from the server. If a specific index is passed, it will return just the *index* message and size of the message.

## Compatibility

All project types on all supported operating systems.
