How to Send an Email (Mail Message) from Linux Command Line Shell Kako Pošaljite Email (pošte) iz naredbenog retka Linux 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. Povremeno sistem administratora svibanj trebate poslati testnu poruku e-pošte, ili hitne mail poruku desno od granata ili command line interpreter kada koristite Linux okus ili distribucije operacijskog sustava, biti Red Hat Fedora, Ubuntu, Debian, CentOS, Open SuSE, FreeBSD i drugima. In this case, the mail command will come in handy. U ovom slučaju, mailom naredba će doista doći u ruci.
mail is a command to send and receive mail in Unix, Linux and BSD operating system. mail je naredbu za slanje i primanje pošte na Unix, Linux i BSD operacijskim sustavom. To initiate a mail sending process, just type in the following command: Da bi započeli proces slanja pošte, samo utipkajte sljedeću naredbu:
mail recipient@domain.com
Obviously, replace recipient@domain.com with a valid email address. Očito, s recipient@domain.com zamijeniti valjanu adresu e-pošte.
The system will prompt for a subject of the email before allowing user to type in the mail message body. Sustav će prompt za predmet poruke e-pošte prije nego što dopušta korisniku da tip u mail poruku tijela.
# mail receipent@domain.com # Mail receipent@domain.com
Subject: For Testing Only Tema: Samo za testiranje
This email is for testing the mail delivery system only. Ova poruka e-pošte za testiranje mail samo sustav za isporuku.
^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). Nakon što završite tipkati poruke e-pošte, pritisnite Ctrl-D (^ D kao što je prikazano u primjeru gore), koja predstavlja Kraj Text (EOT). Depending on system, mail may or may not prompt another input request for any recipients to cc (carbon copy) to. Ovisno o sustavu, svibanj mail ili svibanj ne drugom retku ulazne zahtjev za bilo primatelji cc (carbon copy) u. Press Enter to skip or accept the input, and get the mail sent. Pritisnite Enter da biste preskočili ili prihvatiti ulazni i dobiti poštom poslana.
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. Savjet: Ako se pošiljatelj i primatelj je na isti sistem, to je moguće izostaviti domenu (@ domain.com) dio je adresu, ostavljajući samo korisničko ime.
It's also possible to use mail's arguments or switches to directly send mail without interactive input. Također je moguće koristiti mail-a ili argumente prekidači za izravno slanje pošte bez interaktivni unos. For example, Na primjer,
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". Naredba gore će odmah poslati prazan e-pošte s praznim tijelo adresa primatelja s predmetom "test". For more arguments, type "man mail". Za više argumenata, tipa "čovjek mail".
IMPORTANT : The page is machine translated and provided "as is" without warranty. VAŽNO: Na stranici je stroj prevedeno i dostavlja "kakav je" sa garantni. Machine translation may be difficult to understand. Strojno prevođenje svibanj biti teško za razumjeti. Please refer to Molimo pogledajte original English article Engleski originalni članak whenever possible. kad god je to moguće.
Related Articles Povezani članci
- Send an Anonymous Email Message With Web Based Anonymous Mail Service Providers Pošalji E-mail poruka s Anonimno Web Based Anonimno Mail Service Providers
- Windows Media Center Shell (ehshell.exe) Command Line Switches and Options Windows Media Center Shell (ehshell.exe) Command Line Switches i Opcije
- Delay Sending of Email Message in Microsoft Outlook (Supports Gmail, Hotmail, Yahoo, AOL and all POP3/IMAP Mail) Odgode slanja poruke e-pošte u programu Microsoft Outlook (Podržava Gmail, Hotmail, Yahoo, AOL i svi POP3/IMAP Mail)
- Send Free Text Message With Hundreds of Email to SMS Gateway or Internet Web SMS from Operator Poslati Slobodan Tekstualna poruka Sa Stotine Email to SMS Gateway ili Internet Web SMS from Operator
- How to Create Email Account and Receive Mail for Abuse and Postmaster in Google Apps Kako stvoriti Email računa i Primajte mailom za uznemiravanje i postmaster u Google Apps
- Restart or Shutdown Windows (XP, 2000 and Vista) from Command Line or One-Click Shortcut Ponovno pokretanje ili Shutdown Windows (XP, 2000 i Vidik) from Komandna linija ili Neki-Klik Prečac
- Remove ESET NOD32 Checked Email Confirmation Tag Message in Email Ukloni ESET NOD32 provjereno Email Potvrda Krpa Poruka na Email
- Email Bounces Back with “unrouteable mail domain” Error Email Bounces Povratak sa "unrouteable poštu domena" Greška
- Yahoo Mail New Feature to Allow E-Mailers Text-Message to Phones Yahoo Mail Nove značajke kako bi se dozvolilo E-Mailers SMS-poruke na Phones
- Unlimited Email Storage and Infinity Mail Space for Yahoo! Neograničeno E-mail Skladištenje i beskonačnosti Mail Prostor za Yahoo! Mail Mail










































June 29th, 2009 00:24 29 lip 2009 00:24
you have to config your sendmail to make it work morate konfiguracijski vaš sendmail to izraditi Internet funkcionirati
June 28th, 2009 11:53 28 lip 2009 11:53
Argh. Ah. It's a Terminal not a commandline. It's Terminal ne commandline.