What Is Mail Command in Linux?
Contents 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...
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.
What is mail command in Unix?
The Mail command in unix or linux system is used to send emails to the users, to read the received emails, to delete the emails etc. Mail command will come in handy especially when writing automated scripts. … -s : Specify the subject of the mail -c : Send carbon copies of the mail to the list of users.
Must Read
How do I send an email in Linux?
5 Ways to Send Email From Linux Command Line
- Using ‘sendmail’ Command. Sendmail is a most popular SMTP server used in most of Linux/Unix distribution. …
- Using ‘mail’ Command. mail command is most popular command to send emails from Linux terminal. …
- Using ‘mutt’ command. …
- Using ‘SSMTP’ Command. …
- Using ‘telnet’ Command.
11 сент. 2019 г.