How to Send an Email (Mail Message) from Linux Command Line Shell Paano Magpadala ng Email (Mensahe ng Mail) mula sa 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. Paminsan-minsan system administrator ay maaaring kailangan upang magpadala ng isang pagsubok sa email, o emerhensiyang mail na mensahe mula sa kanan ng shell o command na linya ng interpreter kapag gumagamit ng Linux na lasa o pamamahagi ng mga operating system, ay Red Hat Fedora, Ubuntu, Debian, CentOS, Buksan SUSE, FreeBSD at iba. In this case, the mail command will come in handy. Sa kasong ito, ang mail na utos ay darating sa madaling-gamiting.

mail is a command to send and receive mail in Unix, Linux and BSD operating system. mail ay isang command upang magpadala at tumanggap ng mail sa mga Unix, Linux at BSD operating system. To initiate a mail sending process, just type in the following command: Upang simulan ang isang mail sa pagpapadala ng proseso, i-type lamang sa mga sumusunod na command:

mail recipient@domain.com

Obviously, replace recipient@domain.com with a valid email address. Malinaw na, palitan recipient@domain.com ng balidong email address.

The system will prompt for a subject of the email before allowing user to type in the mail message body. Ang sistema ay madali para sa isang paksa ng email bago na nagpapahintulot sa gumagamit na uri sa katawan mail na mensahe.

# mail receipent@domain.com # Mail receipent@domain.com
Subject: For Testing Only Paksa: Para sa mga Pagsubok Lamang
This email is for testing the mail delivery system only. Ang email na ito ay para sa pagsubok ng mail system sa paghahatid lamang.
^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). Kapag natapos na i-type ang mga email na mensahe, pindutin ang Ctrl-D (ipinapakita bilang ^ D sa halimbawa sa itaas), na kumakatawan sa Dulo ng Text (EOT). Depending on system, mail may or may not prompt another input request for any recipients to cc (carbon copy) to. Depende sa system, mail ay maaaring o hindi maaaring prompt ng ibang input ng kahilingan para sa anumang mga tatanggap sa cc (sipi) sa. Press Enter to skip or accept the input, and get the mail sent. Pindutin ang Enter upang laktawan o tanggapin ang mga input, at kumuha ng mga mail na ipinadala sa.

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. Tip: Kung ang mga nagpadala at tatanggap sa parehong system, posible na lakdawan ang domain (@ domain.com) bahagi ng address, nag-iwan lamang ng pangalan ng user.

It's also possible to use mail's arguments or switches to directly send mail without interactive input. Posible din na gumamit ng argumento mail o switch sa direkta magpadala ng sulat na walang interactive input. For example, Halimbawa, ang

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". Command sa itaas ay agad na magpadala ng isang blangko ang email na may laman sa katawan ang tatanggap address sa paksa "Test". For more arguments, type "man mail". Para sa higit pang argumento, uri "ng tao mail".

IMPORTANT : The page is machine translated and provided "as is" without warranty. MAHALAGA: Ang pahina ng makina ay isinalin at ibinigay "bilang ganito" walang warranty. Machine translation may be difficult to understand. Machine pagsasalin ay maaaring mahirap maintindihan. Please refer to Mangyaring sumangguni sa original English article orihinal na Ingles na artikulo whenever possible. hangga't maaari.


3 Responses to “How to Send an Email (Mail Message) from Linux Command Line Shell” 3 Responses to "Paano Magpadala ng Email (Mensahe ng Mail) mula sa Linux Command Line Shell"

  1. maria a. maria a.
    July 29th, 2009 06:48 Hulyo 29, 2009 06:48
    3 3

    how do i config my sendmail to make it work? paano ako config aking sendmail upang gumawa ito gumagana? i have ubuntu and it wont work without it. ako magkaroon ng Ubuntu at ito sanay sa trabaho nang hindi ito.
    thanks! salamat!

  2. tim tim
    June 29th, 2009 00:24 Hunyo 29, 2009 00:24
    2 2

    you have to config your sendmail to make it work kailangan mong config iyong sendmail upang gawin itong trabaho

  3. 908 908
    June 28th, 2009 11:53 Hunyo 28, 2009 11:53
    1 1

    Argh. Argh. It's a Terminal not a commandline. Ito ay isang terminal hindi isang commandline.

Leave a Reply Iwanan ng isang Sumagot

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> Maaari mong gamitin ang mga tag: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Mag-subscribe sa mga komento na katangian ay hindi pinagana. To receive notification of latest comments posted, subscribe to Upang makatanggap ng paunawa ng pinakabagong mga puna, mag-subscribe sa My Digital Life Comments RSS feed Aking Digital Life Comments RSS feed or o register to receive magrehistro upang makatanggap ng new comments in daily email digest. mga bagong komento sa pang araw-araw email digest.
Custom Search

New Articles Bagong Akda

Incoming Search Terms for the Article Papasok na Kataga sa Paghahanap para sa mga Artikulo

linux mail command linux mail utos - -- sendmail command line sendmail command line - -- sendmail command line example sendmail command linya ng halimbawa - -- linux sendmail example linux sendmail halimbawa - -- linux mail command line linux mail command line - -- sendmail command example sendmail utos halimbawa - -- linux mail from address linux mail address mula sa - -- linux mail command example linux mail utos halimbawa - -- mail command in linux mail command sa linux - -- send mail from command line magpadala ng mail mula sa command line - -- mail command linux mail linux command - -- linux command line mail linux command line mail - -- send mail command line linux magpadala ng sulat command linya ng linux - -- sendmail example command line sendmail halimbawa command line - -- linux send mail from command line linux magpadala ng mail mula sa command line - -- mail linux command mail linux command - -- linux sendmail command line sendmail linux command line - -- linux send email from command line linux magpadala ng email mula sa command line - -- how to send mail in linux kung paano magpadala ng mail sa linux - -- linux sendmail command sendmail linux command - -- sendmail command line subject sendmail command linya ng paksa - -- command line email linux command linya ng email sa linux - -- man mail linux tao mail linux - -- linux mail command from linux mail utos mula sa - -- linux command line email linux command line ng email - -- linux email command email linux command - -- linux mail command from address linux mail utos mula sa address - -- linux email command line email linux command line - -- linux send email linux magpadala ng email - -- sendmail command linux sendmail linux command - -- sendmail from command line sendmail mula sa command line - -- send mail from linux command line magpadala ng mail mula sa linux command line - -- send mail from command line linux magpadala ng mail mula sa command line linux - -- how to send mail from linux command line kung paano magpadala ng mail mula sa linux command line - -- all lahat - -- linux sendmail command example linux sendmail utos halimbawa - -- sendmail command line email sendmail command linya ng email - -- sendmail linux example sendmail linux halimbawa - -- send email from command line magpadala ng email mula sa command line - -- mail command line linux mail command linya ng linux - -- linux send email command line linux magpadala ng email command line - -- mail command example mail utos halimbawa - -- sendmail command in linux sendmail command sa linux - -- shell mail command mail shell command - -- linux mail commands linux mail utos - -- sendmail send test email sendmail magpadala ng email sa pagsubok - -- command line sendmail command line sendmail - -- mail linux example mail linux halimbawa - -- linux mail from command line linux mail mula sa command line - -- email command line email command line - --