
بريد إلكتروني مؤقت مباشرة من الطرفية مكتوب بلغة POSIX sh
بريد إلكتروني مؤقت مباشرة من طرفيتك مكتوب بـ POSIX sh
tmpmail هي أداة سطر أوامر مكتوبة بـ POSIX sh تتيح لك إنشاء عنوان بريد إلكتروني مؤقت واستلام رسائل البريد الإلكتروني إلى هذا العنوان المؤقت. تستخدم API الخاصة بـ 1secmail لاستلام الرسائل.
افتراضيًا، يُستخدم w3m لعرض رسائل البريد الإلكتروني بتنسيق HTML في الطرفية. لكن إذا كنت تفضل متصفح ويب نصي آخر أو تفضل عرض البريد الإلكتروني في متصفح ويب رسومي مثل Firefox، ببساطة استخدم الوسيط --browser متبوعًا بالأمر اللازم لتشغيل متصفح الويب الذي تختاره.
w3mcurlxclip# 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، والذي يتم صيانته حاليًا بواسطة 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