How to Send an Email (Mail Message) from 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. مدير النظام في بعض الأحيان قد تحتاج إلى تجربة إرسال البريد الإلكتروني ، أو في حالات الطوارئ رسالة بريد الحق قذيفة من سطر أو مترجم عند استخدام نكهة لينكس أو نظام التشغيل والتوزيع ، هات فيدورا ، أوبونتو ، ديبيان ، CentOS ، المفتوح سوس و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. البريد قيادة إرسال واستقبال البريد في يونكس ، لينكس ونظام تشغيل بي إس دي. 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. النظام الفوري لهذا الموضوع من البريد الإلكتروني قبل السماح للمستخدم النوع في رسالة بالبريد الهيئة.

# mail receipent@domain.com # البريد receipent@domain.com
Subject: For Testing Only الموضوع : للاختبار فقط
This email is for testing the mail delivery system only. وهذه الرسالة لاختبار نظام توصيل البريد فقط.
^D (EOT) ^ د (محكمة تكافؤ الفرص)
Cc: نسخة إلى :

Once finished typing the email message, press Ctrl-D (shown as ^D in example above), which represents End of Text (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

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 الردود على "كيفية إرسال البريد الإلكتروني (البريد رسالة من قيادة خط شل لينكس"

  1. tim تيم
    June 29th, 2009 00:24 يونيو 29th ، 2009 00:24
    2 2

    you have to config your sendmail to make it work لديك لالتهيئة الخاصة بك sendmail لجعله العمل

  2. 908 908
    June 28th, 2009 11:53 يونيو 28th ، 2009 11:53
    1 1

    Argh. 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> يمكنك استخدام هذه العلامات : <ahref="" title=""> <abbrtitle=""> <acronymtitle=""> <b><blockquotecite=""> <cite><code><دل datetime = ""> <em><i><qcite=""> <strike><strong>

Subscribe to comments feature has been disabled. الاشتراك في تعليقات تم تعطيل ميزة. To receive notification of latest comments posted, subscribe to تلقي إشعار آخر التعليقات المنشورة ، اشترك My Digital Life Comments RSS feed تعليقات بلادي الرقمي الحياة تغذية RSS or أو register to receive سجل للاستقبال new comments in daily email digest. تعليقات جديدة في البريد الإلكتروني يوميا هضم.
Custom Search

New Articles مقالات جديدة

Incoming Search Terms for the Article الوافد مصطلحات البحث عن المادة

linux mail command البريد القيادة لينكس - -- sendmail command line sendmail سطر - -- linux send mail from command line لينكس من إرسال الرسائل من سطر - -- linux send email command line إرسال بريد إلكتروني لينكس سطر - -- send mail from command line linux إرسال الرسائل من سطر لينكس - -- command line email linux سطر البريد الإلكتروني لينكس - -- email from linux command line البريد الإلكتروني من سطر لينكس - -- sendmail command line email sendmail سطر البريد الإلكتروني - -- sending mail from command line ارسال البريد من سطر - -- yahoo hotmail ياهو هوتميل - -- linux command line mail command لينكس سطر البريد القيادة - -- sendmail command example in linux with subject and body sendmail مثالا للقيادة في هذا الموضوع مع لينكس والجسم - -- how to send an email كيفية إرسال بريد إلكتروني - -- linux send email from command line إرسال بريد إلكتروني لينكس من سطر - -- 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 cli mail المبادرة القطرية لينكس البريد - -- linux mail command line البريد سطر لينكس - -- email sending in command line إرسال البريد الإلكتروني في سطر - -- linux sendmail command example sendmail القيادة مثالا لينكس - -- sendmail command line example sendmail سطر مثال - -- test send email linux تجربة إرسال بريد إلكتروني لينكس - -- linux mail command from لينكس من القيادة البريد - -- linux send email إرسال بريد إلكتروني لينكس - -- how to use mail in linux كيفية استخدام البريد الإلكتروني في لينكس - -- "mail -s" + linux + 2 recipients addresss "البريد ل" لينكس + 2 + المتلقين للتغلب - -- command to send message from LINUX pc القيادة لارسال رسالة من جهاز الكمبيوتر لينكس - -- debian howto send mail shell ديبيان howto إرسال البريد قذيفة - -- debial send mail from command line debial إرسال الرسائل من سطر - -- example of mail command in linux مثال البريد القيادة في لينكس - -- getting my linux pc to send email الحصول على جهاز الكمبيوتر لينكس بلدي لإرسال بريد إلكتروني - -- how to send a mail in linux example كيفية إرسال بريد الكتروني على سبيل المثال في لينكس - -- How to Check sendmail كيف تحقق sendmail - -- linux mail command recipients القيادة متلقي البريد لينكس - -- linux command line send سطر ارسال لينكس - -- linux command line mail لينكس سطر البريد - -- mail linux commandline from البريد commandline من لينكس - -- mail command depends on operating system البريد القيادة يعتمد على نظام التشغيل - -- send test email from linux console mail command تجربة إرسال البريد الإلكتروني من البريد ينكس مواساة القيادة - -- sending mail from linux terminal ارسال البريد من محطة لينكس - -- test mail domain linux اختبار البريد النطاق لينكس - -- test send mail command line تجربة إرسال البريد سطر - -- which linux mail command البريد القيادة التي لينكس - -- anonymous email البريد الإلكتروني مجهول - -- bsd mail howto send بي إس دي howto إرسال البريد الإلكتروني - -- commandline email linux commandline البريد الإلكتروني لينكس - -- debian send mail from shell ديبيان من إرسال الرسائل من قذيفة - --