Last updated
mail -s "Hello from jsdig.com by shell" admin@jsdig.com
hello,this is the content of mail.
welcome to www.jsdig.comecho "hello,this is the content of mail.welcome to www.jsdig.com" | mail -s "Hello from jsdig.com by pipe" admin@jsdig.commail -s "Hello from jsdig.com by file" admin@jsdig.com < mail.txtmail -s "Hello from jsdig.com with sender" admin@jsdig.com -- -f user@jsdig.com<mail.txtyum install sharutilsuuencode test.txt test | mail -s "hello,see the attachement" admin@jsdig.com<mail.txt