Listen (-LSN)
Use the listen
(-LSN) command to specify a time (in seconds) to wait for messages to arrive.
If no email is available in the specified listen time, you will receive an error message of
Source not available
.
The command -LSN 0 means do not wait at all. If no message is immediately available, the adapter returns a warning indicating that no messages were found.
-LSN seconds
- Option
- Description
- seconds
- The number of seconds to wait for messages to arrive