zimmski / filter-reply-mails Goto Github PK
View Code? Open in Web Editor NEWFilter and trim plain text and html parts of mails fetched from an IMAP folder
License: GNU General Public License v3.0
Filter and trim plain text and html parts of mails fetched from an IMAP folder
License: GNU General Public License v3.0
When using Getopt-Compact-0.02, filter-reply-emails fails to parse the parameters. The error message is something like "Cannot use 'do-not-remove-files' as an ARRAY ref with 'use stricts "refs"'.
The fix is to provide the long options as array ref, together with short options.
- [ 'do-not-remove-files', 'Do not remove mail files' ],
- [ 'filter-dom', 'CSS selectors for html parts', ':s' ],
- [ 'filter-html', 'Regexes for html parts', ':s' ],
- [ 'filter-text', 'Regexes for text parts', ':s' ],
- [ 'folder-tmp', 'Temporary mail folder', '=s' ],
- [ 'folder-dst', 'Destination mail folder', '=s' ],
- [ 'in-memory', 'Do the MIME work in memory (default is off)' ],
- [ 'file', 'Parse MIME file and print the result to STDOUT', ':s' ],
- [ 'mail-do-not-connect', 'Do not open an IMAP connection' ],
- [ 'mail-do-not-delete-mail', 'Do not delete mails after fetching them' ],
- [ 'mail-do-not-verify-certificate', 'Do not verify the SSL certificate of the IMAP connection' ],
- [ 'mail-folder', 'Folder from where mails will be fetched (default is INBOX)', ':s' ],
- [ 'mail-pwd', 'Password of the IMAP user', '=s' ],
- [ 'mail-server', 'Server connection string for the IMAP connection (default port is 993)', '=s' ],
- [ 'mail-ssl', 'Use SSL for the IMAP connection (default is off)' ],
- [ 'mail-tls', 'Use TLS for the IMAP connection (default is off)' ],
- [ 'mail-user', 'User for the IMAP connection', '=s' ],
- [ 'verbose', 'Print what is going on' ],
+ [ ['a', 'do-not-remove-files'], 'Do not remove mail files' ],
+ [ ['b', 'filter-dom'], 'CSS selectors for html parts', ':s' ],
+ [ ['c', 'filter-html'], 'Regexes for html parts', ':s' ],
+ [ ['d', 'filter-text'], 'Regexes for text parts', ':s' ],
+ [ ['e', 'folder-tmp'], 'Temporary mail folder', '=s' ],
+ [ ['f', 'folder-dst'], 'Destination mail folder', '=s' ],
+ [ ['g', 'in-memory'], 'Do the MIME work in memory (default is off)' ],
+ [ ['h', 'file'], 'Parse MIME file and print the result to STDOUT', ':s' ],
+ [ ['i', 'mail-do-not-connect'], 'Do not open an IMAP connection' ],
+ [ ['j', 'mail-do-not-delete-mail'], 'Do not delete mails after fetching them' ],
+ [ ['k', 'mail-do-not-verify-certificate'], 'Do not verify the SSL certificate of the IMAP connection' ],
+ [ ['l', 'mail-folder'], 'Folder from where mails will be fetched (default is INBOX)', ':s' ],
+ [ ['m', 'mail-pwd'], 'Password of the IMAP user', '=s' ],
+ [ ['n', 'mail-server'], 'Server connection string for the IMAP connection (default port is 993)', '=s' ],
+ [ ['o', 'mail-ssl'], 'Use SSL for the IMAP connection (default is off)' ],
+ [ ['p', 'mail-tls'], 'Use TLS for the IMAP connection (default is off)' ],
+ [ ['q', 'mail-user'], 'User for the IMAP connection', '=s' ],
+ [ ['r', 'verbose'], 'Print what is going on' ],
Special characters are not escaped (e.g.: in a password).
A Password of 123&456 leads to "no command 456 was found".
Be Good if any of those perl modules were actually available/easy to find.
would be good if you could prepackage them /host them, create instructions for installing them.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.