python wgetmail.py -h
show
Usage: wgetmail.py <options> <actions> Options: -v Verbose -q Quiet -c config File to read configuration from -C nm=val Add configuration option for mailbox -b box Select mailbox to operate with -f folder Folder to operate with (not with -i) -F file File to write received mail to (*NIX mbox format) Actions: -i Info: List folders in mailbox -l List messages in folder (default action) -L List messages in folder, enforce correct info (retrieve messages) -g msgid Get (retrieve) message -d msgid Delete message -D msg,msg Delete multiple messages -s nm=val Set custom mailbox value -S nm=val Set custom folder value -a name Do a custom mailbox action -A name Do a custom folder action -R Relogin at this point (especially useful for POP3)