TCP::POP device class template.
This device class can be used to connect to POP3 servers and retrieve mails etc. via telnet.
Do not call this module directly.
Following device class specific procedures are defined. All commands can also be executed using the default cmd() command which is inherited from Net::Telnet.
- pop_login user, pass
This procedure logs in to the POP3 server with the given username and password. Croaks if an error occurred.
This procedure returns the number of messages for the POP3 account. It assumes that we are already logged in.
- get_message id
Returns the first 10 lines of a message with a specifik id.
- Net::Telnet is called with Telnetmode disabled - Some custom procedures are defined - close method overrides default method
Maarten Wallraf <email@example.com>