forked from sdushantha/tmpmail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmpmail.1
47 lines (47 loc) · 1.23 KB
/
tmpmail.1
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
.Dd 2020-10-01
.Dt tmpmail 1
.Os
.Sh NAME
.Nm tmpmail
.Nd temporary email
.Sh SYNOPSIS
.Nm
.Nm
.Fl h | -version
.Nm
.Fl g Op Ar ADDRESS
.Nm
.Op Fl t | b Ar BROWSER
.Fl r | Ar ID
.Sh DESCRIPTION
.Nm
is a command line utility written in POSIX shell that allows you to create a temporary email address and receive emails to the temporary email address. It uses 1secmail's API to receive emails.
.Ss Options and Arguments
When called with no option and no argument,
.Nm
lists the messages in the inbox and their numeric IDs.
When called with one argument,
.Nm
shows the email message with specified
.Ar ID .
.Bl -tag -width Ds
.It Fl b , Fl Fl browser Ar BROWSER
Specify
.Ar BROWSER
(default: w3m) that is used to render the HTML of the email
.It Fl Fl clipboard-cmd Ar COMMAND
Specify the COMMAND to use for copying the email address to your
clipboard (default: xclip -selection c)
.It Fl g , Fl Fl generate Op Ar ADDRESS
Generate a new email address, either the specified
.Ar ADDRESS ,
or randomly create one
.It Fl h , Fl Fl help
Show help
.It Fl r , Fl Fl recent
View the most recent email message
.It Fl t , Fl Fl text
View the email as raw text, where all the HTML tags are removed. Without this option, HTML is used.
.It Fl Fl version
Show version
.El