-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
73 lines (46 loc) · 1.92 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
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)