How to send mail in UNIX Using the UNIX Mail Program

mail -s "Subject"

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" > /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