Send Emails From linux Console

2
16

format mail -s <subject> <mailaddress>

]# mail -s “subject1” name90@gmail.com < demo.txt

will mail the content to name90@gmail.com from demo.txt with subject subject1

2 COMMENTS

LEAVE A REPLY

Please enter your comment!
Please enter your name here