Hi, All:
I'd like to write a script which can send email to some specific receivers. I want to use mail command in my shell script to realize this, but I don't know how to set the Mail Subject,(say, "Test Email") when calling mail command in shell script. I don't want to input by interactive way, but only want to set the Mail Subject using some option of mail utility? Is there such an option?
I hope you can give me help.
Your kindly help will be highly appreciated.
I'd like to write a script which can send email to some specific receivers. I want to use mail command in my shell script to realize this, but I don't know how to set the Mail Subject,(say, "Test Email") when calling mail command in shell script. I don't want to input by interactive way, but only want to set the Mail Subject using some option of mail utility? Is there such an option?
I hope you can give me help.
Your kindly help will be highly appreciated.