-
Notifications
You must be signed in to change notification settings - Fork 0
A short Perl script to access Thunderbird via commandline
License
port8000/mailto
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
MAILTO(1) User Contributed Perl Documentation MAILTO(1) NAME mailto - send an e-mail via thunderbird SYNOPSIS mailto [OPTIONS] [NAME ...] where NAME are the target email addresses. If any NAME is a known shortcut, it will be substituted. DESCRIPTION Send an e-mail via thunderbird. OPTIONS -a, --attach attach a file to the e-mail -h, -?, --help print a help message -l, --list-shortcuts display all known shortcuts -m, -b, --body specify the body of the e-mail -s, --subject specify the subject SHORTCUTS To create short mnemonics for email addresses, create a ~/.mailtorc file with the following content: $shortcuts{ 'ae' } = '[email protected]'; $shortcuts{ 'be' } = '[email protected]'; Then you can use 'ae' and 'be' as shortcuts for Alice's and Bob's full email address. EXAMPLE Say, ae is a shortcut for '[email protected]', then a call to mailto -s 'Hi' ae sends an e-mail to Alice with the subject line 'Hi'. INSTALLATION This program should run almost out of the box. The only non-standard CPAN package needed is File::Which. On Debian and Ubuntu, run sudo apt-get install libfile-which-perl On other systems with the cpan program installed, run cpan File::Which to install it. Then just drop mailto somewhere in your PATH, make sure, the Thunderbird executable is there, too, and you're set. (That is, if you can type "thunderbird" on the same prompt as you'd type "mailto", and something happens, mailto will work.) AUTHOR Manuel Strehl, <[email protected]> COPYRIGHT (C) 2012 Port 8000 GmbH, <http://www.port8000.de/> perl v5.12.4 2012-05-10 MAILTO(1)
About
A short Perl script to access Thunderbird via commandline
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published