Using 'mail' in the command line and I can't find how to make it non-interactive. I want to just send the mail without it needing me to use a '.' (dot) to send the message. What is the correct syntax to send this on its way? I'd like to insert this into a script.
Use a pipe, with the contents of the email. I have used that in a script. ~~~~~ Thank you, this helps. Using the -a switch I noticed 'mail' only sends one attachment even if using a wild card. For example, mail -s Test -a LN*.log me@example.com, will only send the fist file with LN and not the rest. LN080303.log <--- 'mail' will attach this and no others. LN080304.log LN080305.log LN080306.log How can 'mail' send more than one file? Many thanks, ~James -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org