How to Send an Email (Mail Message) from Linux Command Line Shell कैसे 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. कभी कभी सिस्टम व्यवस्थापक जब एक Linux के स्वाद या ऑपरेटिंग सिस्टम का वितरण का उपयोग कर खोल या कमांड लाइन निर्वचक से एक परीक्षण ईमेल, या आपातकालीन मेल संदेश भेजने के लिए सही है, Red Hat Fedora, Ubuntu, Debian, CentOS, खोलो SUSE, FreeBSD और होने की ज़रूरत हो सकती है अन्य. In this case, the mail command will come in handy. इस मामले में, मेल आदेश काम में आ जाएगा.
mail is a command to send and receive mail in Unix, Linux and BSD operating system. मेल भेजने के लिए और UNIX, Linux और BSD ऑपरेटिंग सिस्टम में मेल प्राप्त एक आदेश है. To initiate a mail sending process, just type in the following command: , निम्न कमांड में बस प्रकार एक मेल भेजने की प्रक्रिया आरंभ करने के लिए:
mail recipient@domain.com
Obviously, replace recipient@domain.com with a valid email address. जाहिर है, एक मान्य ईमेल पता के साथ recipient@domain.com बदलें.
The system will prompt for a subject of the email before allowing user to type in the mail message body. इस प्रणाली को ईमेल के एक विषय के लिए मेल संदेश शरीर में उपयोगकर्ता के लिए प्रकार की इजाजत देने से पहले prompt जाएगा.
# mail receipent@domain.com # मेल receipent@domain.com
Subject: For Testing Only विषय: जांच के लिए केवल
This email is for testing the mail delivery system only. यह ईमेल केवल डाक वितरण प्रणाली के परीक्षण के लिए है.
^D (EOT) ^ डी (EOT)
Cc: प्रति:
Once finished typing the email message, press Ctrl-D (shown as ^D in example above), which represents End of Text (EOT). एक बार ईमेल संदेश टाइप चुका, प्रेस Ctrl-डी (के रूप में दिखाया ^ डी उपरोक्त उदाहरण में), जो पाठ (EOT) का अंत का प्रतिनिधित्व करता है. Depending on system, mail may or may not prompt another input request for any recipients to cc (carbon copy) to. प्रणाली के आधार पर, या मेल) के लिए सीसी (कार्बन कॉपी करने के लिए किसी भी प्राप्तकर्ता के लिए एक और इनपुट अनुरोध शीघ्र नहीं मई मई Press Enter to skip or accept the input, and get the mail sent. प्रेस को छोड़ करने के लिए या इनपुट स्वीकार कर लेते हैं, प्रविष्ट करें और मेल भेजे जाते हैं.
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. युक्ति: यदि प्रेषक और प्राप्तकर्ता एक ही सिस्टम पर है, यह डोमेन के पते का हिस्सा domain.com (), केवल उपयोगकर्ता नाम छोड़ @ छोड़ जाना संभव है.
It's also possible to use mail's arguments or switches to directly send mail without interactive input. यह भी सीधे इंटरैक्टिव इनपुट के बिना मेल भेजने के लिए डाक की बहस या स्विच का उपयोग करना संभव है. For example, उदाहरण के लिए,
mail -s Test address@domain.com < /dev/null ओं 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". इसके बाद के संस्करण की कमान तुरंत "विषय" टेस्ट के साथ प्राप्तकर्ता का पता करने के लिए खाली शरीर के साथ एक रिक्त ईमेल भेज देंगे. For more arguments, type "man mail". और बहस के लिए, प्रकार "आदमी मेल".
IMPORTANT : The page is machine translated and provided "as is" without warranty. महत्वपूर्ण: इस पृष्ठ है मशीन अनुवाद प्रदान की और "" के रूप में वारंटी के बिना है. Machine translation may be difficult to understand. मशीन अनुवाद को समझने में मुश्किल हो सकती है. Please refer to कृपया देखें original English article मूल अंग्रेजी लेख whenever possible. जब भी संभव हो सकता है.
Related Articles संबंधित लेख
- Send an Anonymous Email Message With Web Based Anonymous Mail Service Providers वेब के साथ एक बेनामी ईमेल संदेश बेनामी मेल सेवा प्रदाता आधार भेजें
- Windows Media Center Shell (ehshell.exe) Command Line Switches and Options विंडोज मीडिया केन्द्र शैल (ehshell.exe) कमान लाइन Switches और विकल्प
- Delay Sending of Email Message in Microsoft Outlook (Supports Gmail, Hotmail, Yahoo, AOL and all POP3/IMAP Mail) देरी भेजा ईमेल संदेश में Microsoft Outlook में (समर्थन करता है जीमेल, हॉटमेल, याहू, एओएल और सभी POP3/IMAP मेल)
- Send Free Text Message With Hundreds of Email to SMS Gateway or Internet Web SMS from Operator ऑपरेटर से एसएमएस गेटवे या इंटरनेट वेब एसएमएस को ईमेल के सैकड़ों के साथ मुक्त पाठ संदेश भेजें
- How to Create Email Account and Receive Mail for Abuse and Postmaster in Google Apps कैसे दुर्व्यवहार और डाकपाल के लिए Google Apps ईमेल में खाता है और प्राप्त करने के लिए मेल बनाएँ
- Restart or Shutdown Windows (XP, 2000 and Vista) from Command Line or One-Click Shortcut Restart या Shutdown Windows (XP, 2000 और Vista) कमान पंक्ति या एक क्लिक से सरल तरीका
- Remove ESET NOD32 Checked Email Confirmation Tag Message in Email निकालें चेक ESET NOD32 ईमेल पुष्टि टैग संदेश ईमेल में
- Email Bounces Back with “unrouteable mail domain” Error ईमेल Bounces पिछला unrouteable मेल डोमेन "के साथ" त्रुटि
- Yahoo Mail New Feature to Allow E-Mailers Text-Message to Phones याहू मेल नई फ़ीचर ई-Mailers पाठ फ़ोनों के लिए संदेश की अनुमति देने के लिए
- Unlimited Email Storage and Infinity Mail Space for Yahoo! असीमित ईमेल संग्रहण और इन्फिनिटी मेल अंतरिक्ष के लिए याहू! Mail मेल










































June 29th, 2009 00:24 29 जून, 2009 00:24
you have to config your sendmail to make it work तुम यह काम करने के लिए अपने Sendmail config करना होगा
June 28th, 2009 11:53 जून, 28 2009 11:53
Argh. अर्घ. It's a Terminal not a commandline. यह एक टर्मिनल नहीं एक commandline है.