How to Send an Email (Mail Message) from Linux Command Line Shell Kaip Siųsti paštas (Mail Message) iš Linux Command Line "Shell
Occasionally system administrator may need to send a test email, or emergency mail message right from the shell or command line interpreter when using a Linux flavor or distribution of operating system, be Red Hat Fedora, Ubuntu, Debian, CentOS, Open SUSE, FreeBSD and others. Kartais sistemos administratorius gali prireikti išsiųsti testinį el.laišką, arba ekstremalių situacijų laišką tiesiai iš apvalkalo arba komandinės eilutės interpretatorius naudojant Linux skonio arba platinti operacinę sistemą, bus "Red Hat Fedora, Ubuntu, Debian, CentOS, Open SUSE, FreeBSD ir kt. In this case, the mail command will come in handy. Tokiu atveju paštas komandą bus naudinga.
mail is a command to send and receive mail in Unix, Linux and BSD operating system. paštas komandą Siųsti ir gauti paštą Unix, Linux, BSD operacine sistema. To initiate a mail sending process, just type in the following command: Pradėti pašto siuntimo procesas, tiesiog įrašykite šią komandą:
mail recipient@domain.com
Obviously, replace recipient@domain.com with a valid email address. Žinoma, pakeisti recipient@domain.com su elektroninio pašto adresą.
The system will prompt for a subject of the email before allowing user to type in the mail message body. Sistema bus greitai už elektroninio pašto, kuriems, prieš leidžiant vartotojui tipą laišką įstaiga.
# mail receipent@domain.com # Paštas receipent@domain.com
Subject: For Testing Only Tema: Dėl bandymų tik
This email is for testing the mail delivery system only. Šis laiškas yra bandymas laiškų pristatymo sistemą tik.
^D (EOT) ^ D (EOT)
Cc: Cc:
Once finished typing the email message, press Ctrl-D (shown as ^D in example above), which represents End of Text (EOT). Kai baigė rašyti laišką, paspauskite "Ctrl-D (rodoma kaip ^ D į aukščiau pateiktą pavyzdį), kurį sudaro teksto pabaiga (EOT). Depending on system, mail may or may not prompt another input request for any recipients to cc (carbon copy) to. Priklausomai nuo sistemos, paštas gali ar negali greitai įvesti kitą prašymą gavėjus į CC (kopija) iki. Press Enter to skip or accept the input, and get the mail sent. Paspauskite klavišą Enter, jei norite praleisti arba pritarti pirkimo ir gauti paštu išsiųsti.
Tip: If the sender and recipient is on the same system, it's possible to omit the domain (@domain.com) part of the address, leaving only user name. Patarimas: Jei siuntėjas ir gavėjas yra ta pati sistema, tai galima praleisti domeną (@ domain.com) dalis adresą, paliekant tik vartotojo vardą.
It's also possible to use mail's arguments or switches to directly send mail without interactive input. Taip pat galima naudoti paštas argumentai arba jungikliai tiesiogiai siųsti laiškus be interneto įvedimo. For example, Pavyzdžiui
mail -s Test address@domain.com < /dev/null
Command above will immediately send a blank email with empty body to the recipient address with the subject "Test". Komanda aukščiau bus nedelsiant išsiųsti tuščią laišką su tuščiu Kūno prie gavėjo adresą su tema "test". For more arguments, type "man mail". Norėdami gauti daugiau argumentų, tipo "vyras paštas".
IMPORTANT : The page is machine translated and provided "as is" without warranty. DĖMESIO: Šis puslapis yra mašina išvertė ir pateikiama "kaip yra" be garantijų. Machine translation may be difficult to understand. Automatinis vertimas gali būti sunku suprasti. Please refer to Remkitės original English article originalas anglų straipsnis whenever possible. jei įmanoma.
Related Articles Susiję straipsniai
- Send an Anonymous Email Message With Web Based Anonymous Mail Service Providers Siųsti Anonymous laišką su Web Based Anonymous pašto paslaugų teikėjus
- Windows Media Center Shell (ehshell.exe) Command Line Switches and Options Windows Media Center "Shell (ehshell.exe) Komandų eilutės raktai, ir Funkcijos
- Delay Sending of Email Message in Microsoft Outlook (Supports Gmail, Hotmail, Yahoo, AOL and all POP3/IMAP Mail) Delay siuntimas laišką programoje Microsoft Outlook (Palaiko Gmail, Hotmail, Yahoo, AOL ir visas POP3/IMAP paštas)
- Send Free Text Message With Hundreds of Email to SMS Gateway or Internet Web SMS from Operator Send Free Text Message šimtai Siųsti SMS Gateway arba interneto SMS Operatoriaus
- How to Create Email Account and Receive Mail for Abuse and Postmaster in Google Apps Kaip Sukurti pašto dėžutę ir gauti el piktnaudžiavimo ir Postmaster "Google Apps"
- Email Bounces Back with “unrouteable mail domain” Error Siųsti atsisakymas Grįžti į "unrouteable pašto domeno" Klaida
- Remove ESET NOD32 Checked Email Confirmation Tag Message in Email Pašalinti ESET NOD32 Patikrintas Siųsti Patvirtinimo Tag pranešimą "Elektroninis paštas
- Restart or Shutdown Windows (XP, 2000 and Vista) from Command Line or One-Click Shortcut Paleiskite arba uždaryti Windows (XP, 2000 ir Vista) iš komandų eilutės arba One-Click Santrumpa
- Unlimited Email Storage and Infinity Mail Space for Yahoo! Unlimited Email Sandėliavimo ir Infinity Paštas erdvę Yahoo! Mail Paštas
- Yahoo Mail New Feature to Allow E-Mailers Text-Message to Phones Yahoo naują funkciją Leisti E-vokų Tekstas-žinutę Telefonai










































July 29th, 2009 06:48 29 liepa 2009 06:48
how do i config my sendmail to make it work? Kaip sendmail config mano, kad jis veikia? i have ubuntu and it wont work without it. Turiu ubuntu, ir jis įpratęs dirbti be jo.
thanks! ačiū!
June 29th, 2009 00:24 29 birželis 2009 00:24
you have to config your sendmail to make it work turite config jūsų sendmail, kad ji būtų
June 28th, 2009 11:53 28 birželis 2009 11:53
Argh. Oi. It's a Terminal not a commandline. Jis terminalo ne komandųeilutės.