This is the sample script to send mail using script. I have used perl . You can try with shell script also , with the same way.

— Contents of —

$mailcmd=”/usr/lib/sendmail -t << EOF
From :
Subject : Linux-cloud cars

I love luxury Cars, SUV


# script ends

Leave a Reply

Your email address will not be published. Required fields are marked *

You May Also Like
Read More

strace hint

To see the timestamp at which a system call executes and how much time spent on each system,…
Read More

Download using wget

You can use “wget” on Linux machine CLI to download files from http or ftp sites. Proxy configuration…