Hi !
I'm looking for a simple way to send a mail with an attached file via the console...
I have to send a mail with text and files attached to it... So here were I'm stuck :
cat myfile.txt | mail admin -s "your subject"
This is working but can't find a switch to attach my files !!!
I typed 'man mail' but it seems that this function is unavailable
Is there another command-line tool to send mail as easy as 'mail' ?
Thanks in advance !