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. जब भी संभव हो सकता है.


2 Responses to “How to Send an Email (Mail Message) from Linux Command Line Shell” 2 जवाब "कैसे Linux के कमांड लाइन शैल से" एक ईमेल (मेल संदेश) भेजें करने के लिए

  1. tim टिम
    June 29th, 2009 00:24 29 जून, 2009 00:24
    2 2

    you have to config your sendmail to make it work तुम यह काम करने के लिए अपने Sendmail config करना होगा

  2. 908 908
    June 28th, 2009 11:53 जून, 28 2009 11:53
    1 1

    Argh. अर्घ. It's a Terminal not a commandline. यह एक टर्मिनल नहीं एक commandline है.

Leave a Reply एक उत्तर दें छोड़ दो

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> आप इन टैग्स: <a href="" का उपयोग कर सकते हैं title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <डेल datetime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. सुविधा को निष्क्रिय कर दिया गया है टिप्पणी करने के लिए सदस्यता लें. To receive notification of latest comments posted, subscribe to , पोस्ट नवीनतम टिप्पणी की सूचना प्राप्त करने के लिए की सदस्यता My Digital Life Comments RSS feed मेरे डिजिटल जीवन टिप्पणियाँ आरएसएस फ़ीड or या register to receive रजिस्टर प्राप्त करने के लिए new comments in daily email digest. दैनिक ईमेल में नई टिप्पणियाँ डाइजेस्ट.
Custom Search

New Articles नई लेख

Incoming Search Terms for the Article के लिए खोज नियम आने के अनुच्छेद

linux mail command Linux मेल आदेश - -- sendmail command line sendmail को कमांड लाइन - -- linux send mail from command line Linux कमांड लाइन से मेल भेजने - -- linux send email command line linux ईमेल कमांड लाइन भेज - -- send mail from command line linux कमांड लाइन Linux से मेल भेजने - -- command line email linux कमांड लाइन ईमेल linux - -- email from linux command line Linux कमांड लाइन से ईमेल - -- sendmail command line email sendmail को कमांड लाइन ईमेल - -- sending mail from command line कमांड लाइन से मेल भेजने - -- yahoo hotmail याहू Hotmail - -- linux command line mail command Linux कमांड लाइन मेल आदेश - -- sendmail command example in linux with subject and body विषय और शरीर के साथ Linux में Sendmail कमांड उदाहरण - -- how to send an email कैसे एक ईमेल भेजने के लिए - -- linux send email from command line Linux कमांड लाइन से ईमेल भेज - -- test email address send message परीक्षण ईमेल पते को संदेश भेजें - -- mail command in shell खोल में मेल आदेश - -- send mail from command line कमांड लाइन से मेल भेजने - -- send yahoo mail from command line कमांड लाइन से याहू मेल भेजने - -- how to send mail from linux command line कैसे Linux कमांड लाइन से मेल भेजने के लिए - -- linux cli mail linux cli मेल - -- linux mail command line Linux मेल कमांड लाइन - -- email sending in command line ईमेल कमांड लाइन में भेजने - -- linux sendmail command example sendmail को कमांड उदाहरण linux - -- sendmail command line example sendmail को कमांड लाइन उदाहरण - -- test send email linux परीक्षण ईमेल भेज linux - -- linux mail command from Linux मेल आदेश से - -- linux send email linux ईमेल भेजने - -- how to use mail in linux कैसे Linux में मेल का उपयोग करने के लिए - -- "mail -s" + linux + 2 recipients addresss "मेल-s" + Linux + 2 प्राप्तकर्ताओं addresss - -- command to send message from LINUX pc कमांड Linux पीसी से संदेश भेजने के लिए - -- debian howto send mail shell howto मेल खोल भेज debian - -- debial send mail from command line debial कमांड लाइन से मेल भेजने - -- example of mail command in linux Linux में मेल कमांड के उदाहरण - -- getting my linux pc to send email रही मेरी Linux ईमेल भेजने के लिए पीसी - -- how to send a mail in linux example कैसे Linux के उदाहरण में एक मेल भेजने के लिए - -- How to Check sendmail कैसे sendmail को चेक करने के लिए - -- linux mail command recipients Linux मेल कमांड प्राप्तकर्ताओं - -- linux command line send Linux कमांड लाइन भेज - -- linux command line mail Linux कमांड लाइन मेल - -- mail linux commandline from मेल Linux commandline से - -- mail command depends on operating system मेल कमांड ऑपरेटिंग सिस्टम पर निर्भर करता है - -- send test email from linux console mail command Linux मेल कमांड सांत्वना से परीक्षण ईमेल भेजें - -- sending mail from linux terminal Linux टर्मिनल से मेल भेजने - -- test mail domain linux परीक्षण मेल डोमेन linux - -- test send mail command line परीक्षण मेल कमांड लाइन भेज - -- which linux mail command जो Linux मेल आदेश - -- anonymous email अनाम ईमेल - -- bsd mail howto send bsd मेल भेज howto - -- commandline email linux commandline ईमेल linux - -- debian send mail from shell debian खोल से मेल भेजने - --