Sending a mail from a linux shell script

后端 未结 11 2091
一个人的身影
一个人的身影 2020-12-04 06:52

I want to send an email from a Linux Shell script. What is the standard command to do this and do I need to set up any special server names?

11条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-04 07:27

    The mail command does that (who would have guessed ;-). Open your shell and enter man mail to get the manual page for the mail command for all the options available.

提交回复
热议问题