How Do I Install Mail Utility in Linux?
Contents

How do I install Mail on Linux?

In Linux mail command is used for sending mail from your Linux server/machine.

  1. Install ‘mail’ command.
  2. For CentOS/Redhat.
  3. Send Full Mail using the following command:
  4. Mail in a Single Line. mail -s “subject” [email protected] mail body’

13 янв. 2018 г.

What is the mail command in Linux?

Linux mail command is a command-line utility that allows us to send emails from the command line. It will be quite useful to send emails from the command line if we want to generate emails programmatically from shell scripts or web applications.

Elena Rostova

Elena Rostova

Lead Health, Wellness & Medical Journalist

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.

Share this article
Twitter Facebook Pinterest