Pre-Requisiteis Shell Script for Sending Emails via SMTP In the above script, the Mailcontent.txt file contains the mail body content. Conclusion