
एक अस्थायी ईमेल सीधे आपके टर्मिनल से, POSIX sh में लिखा गया
एक अस्थायी ईमेल सीधे आपके टर्मिनल से, POSIX sh में लिखा गया
tmpmail एक कमांड लाइन उपयोगिता है जो POSIX sh में लिखी गई है और जो आपको एक अस्थायी ईमेल पता बनाने और उस अस्थायी ईमेल पते पर ईमेल प्राप्त करने की अनुमति देती है। यह ईमेल प्राप्त करने के लिए 1secmail के API का उपयोग करती है।
डिफ़ॉल्ट रूप से w3m का उपयोग टर्मिनल पर HTML ईमेल प्रस्तुत करने के लिए किया जाता है। लेकिन यदि आप कोई अन्य टेक्स्ट-आधारित वेब ब्राउज़र पसंद करते हैं या फ़ायरफ़ॉक्स जैसे GUI वेब ब्राउज़र में ईमेल देखना चाहते हैं, तो बस --browser तर्क का उपयोग करें और उसके बाद अपनी पसंद के वेब ब्राउज़र को लॉन्च करने के लिए आवश्यक कमांड डालें।
w3mcurljqxclip# Download the tmpmail file and make it executable
$ curl -L "https://raw.githubusercontent.com/sdushantha/tmpmail/master/tmpmail" > tmpmail && chmod +x tmpmail
# Then move it somewhere in your $PATH. Here is an example:
$ mv tmpmail ~/bin/
tmpmail AUR पर उपलब्ध है, जिसे वर्तमान में Benjamin Bädorf द्वारा अनुरक्षित किया जा रहा है।
$ yay -S tmpmail-git
tmpmail pacstall-programs repository पर उपलब्ध है, जिसे वर्तमान में wizard-28 द्वारा अनुरक्षित किया जा रहा है।
$ pacstall -I tmpmail-bin
tmpmail nix पैकेज संग्रह (वर्तमान में केवल अस्थिर) में भी उपलब्ध है, जिसे legendofmiracles द्वारा अनुरक्षित किया जाता है।
इसे अपने सिस्टम पैकेज में जोड़ें, nix-env से स्थापित करें, या एक अस्थायी nix-shell में आज़माएं nix-shell -p tmpmail
आवश्यकताएँ:
$ docker build -t mail .; # Dockerfile available in source code
$ docker run -it mail;
$ tmpmail --help
tmpmail
tmpmail -h | --version
tmpmail -g [ADDRESS]
tmpmail [-t | -b BROWSER] -r | ID
When called with no option and no argument, tmpmail lists the messages in
the inbox and their numeric IDs. When called with one argument, tmpmail
shows the email message with specified ID.
-b, --browser BROWSER
Specify BROWSER that is used to render the HTML of
the email (default: w3m)
--clipboard-cmd COMMAND
Specify the COMMAND to use for copying the email address to your
clipboard (default: xclip -selection c)
-c, --copy
Copy the email address to your clipboard
-d, --domains
Show list of available domains
-g, --generate [ADDRESS]
Generate a new email address, either the specified ADDRESS, or
randomly create one
-h, --help
Show help
-r, --recent
View the most recent email message
-t, --text
View the email as raw text, where all the HTML tags are removed.
Without this option, HTML is used.
--version
Show version
यादृच्छिक ईमेल बनाएं
$ tmpmail --generate
[email protected]
कस्टम ईमेल बनाएं
$ tmpmail --generate [email protected]
[email protected]
इनबॉक्स देखें
$ tmpmail
[ Inbox for [email protected] ]
83414443 [email protected] Test Email
ईमेल देखें
$ tmpmail 83414443
सबसे हालिया ईमेल देखें
$ tmpmail -r
ईमेल को शुद्ध पाठ के रूप में देखें
$ tmpmail -t 83414443
To: [email protected]
From: [email protected]
Subject: Test Email
Hello World
[Attachments]
https://is.gd/aBCdEf [apple.jpg]
https://is.gd/AbCDeF [ball.jpg]
यह स्क्रिप्ट Mitch Weaver की 1secmail स्क्रिप्ट से अत्यधिक प्रेरित है।