Add a SMTP server to use for automatic mails

Written by Robert -

I like to receive e-mails with the result from scripts I write by e-mail. To do this, added a smtp server to the /etc/ssmtp/ssmtp.conf file

root=your e-mail address
mailhub=serveraddress:port
hostname=your e-mail address
UseSTARTTLS=YES
AuthUser=your e-mail address
AuthPass=your password
FromLineOverride=yes

Comments