Add command line switches to conmailtool
Status: Beta
Brought to you by:
neoyoda
Adds optional command line switches to conmailtool. If no switches are provided, behavior is identical to v2.2. If switches are provided, one or more of the three prompts (server, username, and password) can be bypassed.
In addition, a --help option is added.
The Getopt::Long package is used.
==================================================
$>conmailtool --help
Console MailTool
Purpose: A command line POP utility.
Usage: conmailtool [--server server] [--username user]
[--password pass]
Command Line Switches
server : The pop server to connect to.
username: The email account to login to.
password: The password to use.
help : This message.
Diff adding command line options to version 2.2.