install and configure ssmtp ubuntu code example Example: ssmtp settings ubuntu sudo nano /etc/ssmtp/ssmtp.conf