-
-
11 Jul 2007 17:54:58 UTC
- Distribution: Net-Telnet-Wrapper
- Module version: 0.1
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues
- Testers (71 / 20 / 0)
- Kwalitee
Bus factor: 0- % Coverage
- License: unknown
- Activity
24 month- Tools
- Download (14.44KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Net::Telnet
- Net::Telnet::Cisco
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Net::Telnet::Wrapper::Device::TCP::POP
DESCRIPTION
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.
DEVICE CLASS SPECIFIC PROCEDURES
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.
- get_count_messages
-
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.
SUPPORTED MODES
CONNECT
SPECIFICS
- Net::Telnet is called with Telnetmode disabled - Some custom procedures are defined - close method overrides default method
AUTHOR
Maarten Wallraf <perl@2nms.com>
Module Install Instructions
To install Net::Telnet::Wrapper, copy and paste the appropriate command in to your terminal.
cpanm Net::Telnet::Wrapper
perl -MCPAN -e shell install Net::Telnet::Wrapper
For more information on module installation, please visit the detailed CPAN module installation guide.