getattach.pl - Utility to retrieve attachments from a mailbox
Synopsis
Description
Options
Examples
See Also
Bugs
Todo
Author
Last Update
getattach.pl [-h|--help] [-m|--mbox=mailboxfile] [-b|--basedir=path] [-d|--display] [--install] [-v|--verbose] [--version]
getattach.pl is a Perl script which can be used to retrieve all email attachments and save them in a destination directory. This is useful, for instance, if you recieve several image files as attachments in your email directories.
getattach.pl redirects warnings and error messages to the file. errlog.txt which is created in the current directory.
-h or --help Display helpful syntax information. -m or --mbox Select mailbox to scan for email attachments. -b or --basedir Path to save attachments to. -d or --display Display text messages to standard output. -v or --verbose Display message header information to standard output. --version Display current version of getattach.pl --install [Not implemented yet] Install required CPAN modules. Must be run as root.
getattach.pl -m ~/mailbox -b ~/images Get all email attachments from mailbox file mailbox in the users home directory and save them to the images directory in the users home directory. getattach.pl -m ~/evolution/local/Inbox/mbox -b ~/attachments Get all email from the evolution mail folder 'Inbox' and save them in the attachments directory in the users home directory.
Mail::Box(3), Date::Manip(3)
Some strange behavior seen in dependent modules. Will debug these shortly.
Finish implementing GUI frontend for getattach.pl.
Add more error handling code.
Integration with evolution and/or other mail clients.
Automatic module installation.
Michael A. Uman <muman@softwaremagic.net>
$Date: 2003/10/09 07:44:32 $
Top of page |
Release 1.3 | getattach.pl (1) | October 9, 2003 |
If you would like to republish one of the articles from this site on your webpage or print journal please contact IronGeek.
Copyright 2020, IronGeek