ssmtp mail server setup and configuration

Install ssmtp Install ssmtp: [crayon-6633ffbc16dde720639788-i/]

Edit the ssmtp config file : [crayon-6633ffbc16de7686602388-i/]

Enter this in the file:
[crayon-6633ffbc16dea496083148/]
#!!! Do not use  STARTTLS and  TLS  in the same time,  You cant use both of them in the same time. 

 
Enter the email address of the person who will receive your email:
[crayon-6633ffbc16ded999011362/]
Subject: Sent from a terminal!

Your content goes here. Lorem ipsum dolor sit amet, consectetur adipisicing.

To send the email: Ctrl + D

You can also save the text mentioned in Point 5 into a text file and send it using:

[crayon-6633ffbc16df1344120931-i/]