How to Send an Email (Mail Message) from Linux Command Line Shell Jak wysłać e-mail (Wyślij wiadomość) z linii poleceń powłoki systemu Linux
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. Czasami administrator systemu może być konieczne, aby wysłać wiadomość testową lub poczty prawo nadzwyczajnych wiadomości z powłoki lub interpretera wiersza poleceń, jeżeli śpią na smak Linux lub dystrybucja systemu operacyjnego, należy Red Hat Fedora, Ubuntu, Debian, CentOS, Open SUSE, FreeBSD oraz innych. In this case, the mail command will come in handy. W tym przypadku polecenie mail będzie przydatna.
mail is a command to send and receive mail in Unix, Linux and BSD operating system. mail polecenia, aby wysłać i odbierać pocztę w systemie Unix, Linux i BSD systemu operacyjnego. To initiate a mail sending process, just type in the following command: Aby rozpocząć proces wysyłania poczty, po prostu wpisz następujące polecenie:
mail recipient@domain.com
Obviously, replace recipient@domain.com with a valid email address. Oczywiście, zamiast recipient@domain.com prawidłowy adres e-mail.
The system will prompt for a subject of the email before allowing user to type in the mail message body. System wyświetli monit o podanie tematu wiadomości e-mail przed pozwalając użytkownik wobec typ w treści wiadomości email.
# mail receipent@domain.com # Receipent@domain.com mail
Subject: For Testing Only Temat: jedynie do testowania
This email is for testing the mail delivery system only. Ten e-mail do testowania systemu dostarczania poczty tylko.
^D (EOT) ^ D (EOT)
Cc: DW:
Once finished typing the email message, press Ctrl-D (shown as ^D in example above), which represents End of Text (EOT). Po zakończeniu pisania wiadomości e-mail, naciśnij Ctrl-D (^ D, jak pokazano w powyższym przykładzie), co stanowi końca tekstu (EOT). Depending on system, mail may or may not prompt another input request for any recipients to cc (carbon copy) to. W zależności od systemu, poczty lub nie może skłonić kolejne żądanie wejścia dla każdego odbiorcy do cc (kopia) do. Press Enter to skip or accept the input, and get the mail sent. Naciśnij klawisz Enter, aby pominąć i przyjąć wejście i uzyskać mail została wysłana.
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. Wskazówka: Jeśli nadawca i odbiorca jest na tym samym systemie, to nic nie można pominąć domeny (@ domain.com) część adresu, a jedynie nazwę użytkownika.
It's also possible to use mail's arguments or switches to directly send mail without interactive input. Możliwe jest również do korzystania z poczty argumenty lub przełącza się bezpośrednio wysyłać pocztę bez interaktywne wejściowych. For example, Na przykład,
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". Dowództwo nad natychmiast wysłać pusty e-mail z pustymi ciała adres odbiorcy z tematem "Test". For more arguments, type "man mail". Aby uzyskać więcej argumentów typu "poczta człowieka".
IMPORTANT : The page is machine translated and provided "as is" without warranty. UWAGA: strona jest maszyna przetłumaczony i dostarczane "tak jak są" bez gwarancji. Machine translation may be difficult to understand. Tłumaczenie maszynowe może być trudne do zrozumienia. Please refer to Proszę odnieść się do original English article oryginalny angielski artykułu whenever possible. w miarę możliwości.
Related Articles Pokrewne artykuły
- Send an Anonymous Email Message With Web Based Anonymous Mail Service Providers Wyślij Anonimowy Wiadomość Z Web Based Anonimowy Mail Service Providers
- Windows Media Center Shell (ehshell.exe) Command Line Switches and Options Windows Media Center Shell (Ehshell.exe) Przełączniki wiersza polecenia i opcje
- Delay Sending of Email Message in Microsoft Outlook (Supports Gmail, Hotmail, Yahoo, AOL and all POP3/IMAP Mail) Opóźnienie Wysyłanie wiadomości e-mail w programie Microsoft Outlook (Supports Gmail, Hotmail, Yahoo, AOL i wszystko POP3/IMAP Poczta)
- Send Free Text Message With Hundreds of Email to SMS Gateway or Internet Web SMS from Operator Wyślij wiadomość Wolny Tekst z setkami Wyślij SMS Brama wejściowa albo Internet Tkanina SMS od operatora
- How to Create Email Account and Receive Mail for Abuse and Postmaster in Google Apps Jak utworzyć konto e-mail i wysyłania poczty za nadużycia i poczmistrz w Google Apps
- Email Bounces Back with “unrouteable mail domain” Error E-mail zostaje odesłana z "unrouteable domeny poczty" Błąd
- Remove ESET NOD32 Checked Email Confirmation Tag Message in Email Usunąć ESET NOD32 Sprawdzone potwierdzenie e-mail Tag Message in Email
- Restart or Shutdown Windows (XP, 2000 and Vista) from Command Line or One-Click Shortcut Ponowne uruchomienie lub zamknięcie systemu Windows (XP, 2000 i Vista) z Wiersz poleceń albo Jeden-Trzaskać Szybki dostęp
- Unlimited Email Storage and Infinity Mail Space for Yahoo! Nieograniczona pocztę i Infinity mailowa dla Yahoo! Mail Poczta
- Yahoo Mail New Feature to Allow E-Mailers Text-Message to Phones Yahoo Mail, nową cechę umożliwiającą Zgoda E-Koperty tekstu wiadomości na telefony










































July 29th, 2009 06:48 29 lipca 2009 06:48
how do i config my sendmail to make it work? Jak config mojego sendmail, aby to działało? i have ubuntu and it wont work without it. mam ubuntu i przyzwyczajenie praca bez niego.
thanks! dzięki!
June 29th, 2009 00:24 29 czerwca 2009 00:24
you have to config your sendmail to make it work masz plik konfiguracyjny do sendmaila, aby to działało
June 28th, 2009 11:53 28 czerwca 2009 11:53
Argh. Ojej. It's a Terminal not a commandline. It's Terminal nie polecenia.