1)uuencode |sendmail
Example:-
uuencode script.sh script2.sh |sendmail
2) cat file_name | mailx -s <"subject name"
Example:-
df -kh | mailx -s "WARNING! Archive Space Used Over 40%" subhram007@gmail.com
Example:-
uuencode script.sh script2.sh |sendmail
2) cat file_name | mailx -s <"subject name"
Example:-
df -kh | mailx -s "WARNING! Archive Space Used Over 40%" subhram007@gmail.com
No comments:
Post a Comment