mail -s "Subject" email@address.com
The above works for me. If I want to include a text file (for example, a "automatic reply" type email) your command would look as follows:
mail -s "Subject" email@address.com > /path/text_file
Try removing the "x" from "mailx" and see if that doesn't work
The above works for me. If I want to include a text file (for example, a "automatic reply" type email) your command would look as follows:
mail -s "Subject" email@address.com > /path/text_file
Try removing the "x" from "mailx" and see if that doesn't work
No comments:
Post a Comment
Please Provide your feedback here