[shahzad@server ~] $ mail -s "Test mail for salam"
salam843@gmail.com
-s ==>
for subject
How to send email
with attachment
Install mutt package
[root@server ~]# yum -y install mutt
Login with user and create a file which you want to attache
[shahzad@server ~]$ mutt
-s "Doc" -a /home/shahzad/a salam843@gmail.com
-a ==> fro attachment
########Thanks for visiting############
0 comments:
Post a Comment